mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-29 10:24:34 +00:00
ANIM Editor - use '|=' instead when applying template anim
This commit is contained in:
@@ -341,7 +341,7 @@ namespace PckStudio.Forms.Editor
|
||||
var templateANIM = new SkinANIM(Templates[diag.SelectedItem]);
|
||||
DialogResult prompt = MessageBox.Show(this, "Would you like to add this preset's effects to your current ANIM? Otherwise all of your effects will be cleared. Either choice can be undone by pressing \"Restore ANIM\".", "", MessageBoxButtons.YesNo);
|
||||
if (prompt == DialogResult.Yes)
|
||||
templateANIM = ruleset.Value | templateANIM;
|
||||
templateANIM |= ruleset.Value;
|
||||
ruleset.ApplyAnim(templateANIM);
|
||||
}
|
||||
|
||||
|
||||
@@ -120,7 +120,4 @@
|
||||
<metadata name="SettingToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="SettingToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -589,6 +589,7 @@
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\Utilities\AppBehaviorSettingsForm.resx">
|
||||
<DependentUpon>AppBehaviorSettingsForm.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="MainForm.ja.resx">
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
|
||||
Reference in New Issue
Block a user