mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-13 12:14:18 +01:00
Fix overwriting with current state keeping old advanced dyes.
This commit is contained in:
parent
da46705b52
commit
5d1c65cce7
1 changed files with 1 additions and 0 deletions
|
|
@ -636,6 +636,7 @@ public class DesignPanel
|
|||
|
||||
var design = panel._converter.Convert(state, ApplicationRules.FromModifiers(state))
|
||||
?? throw new Exception("The clipboard did not contain valid data.");
|
||||
panel._selector.Selected!.GetMaterialDataRef().Clear();
|
||||
panel._manager.ApplyDesign(panel._selector.Selected!, design);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue