Fixes and improvements

This commit is contained in:
Wojtek Figat
2021-07-24 23:38:05 +02:00
parent caaae8af78
commit 6718b37ca1
4 changed files with 6 additions and 5 deletions

View File

@@ -36,6 +36,7 @@ namespace FlaxEditor.Windows.Assets
_undo = new Undo();
_undo.UndoDone += OnUndoRedo;
_undo.RedoDone += OnUndoRedo;
_undo.ActionDone += OnUndoRedo;
// Toolstrip
_saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save64, Save).LinkTooltip("Save");

View File

@@ -126,6 +126,7 @@ namespace FlaxEditor.Windows.Assets
_undo = new Undo();
_undo.UndoDone += OnUndoRedo;
_undo.RedoDone += OnUndoRedo;
_undo.ActionDone += OnUndoRedo;
// Toolstrip
_saveButton = (ToolStripButton)_toolstrip.AddButton(editor.Icons.Save64, Save).LinkTooltip("Save");

View File

@@ -57,7 +57,7 @@ namespace FlaxEditor.Content.Settings
}
// [Deprecated on 12.01.2021, expires on 12.01.2022]
[Serialize, Obsolete]
[Serialize, Obsolete, NoUndo]
private float WalkableRadius
{
get => throw new Exception();
@@ -69,7 +69,7 @@ namespace FlaxEditor.Content.Settings
}
// [Deprecated on 12.01.2021, expires on 12.01.2022]
[Serialize, Obsolete]
[Serialize, Obsolete, NoUndo]
private float WalkableHeight
{
get => throw new Exception();
@@ -81,7 +81,7 @@ namespace FlaxEditor.Content.Settings
}
// [Deprecated on 12.01.2021, expires on 12.01.2022]
[Serialize, Obsolete]
[Serialize, Obsolete, NoUndo]
private float WalkableMaxClimb
{
get => throw new Exception();
@@ -93,7 +93,7 @@ namespace FlaxEditor.Content.Settings
}
// [Deprecated on 12.01.2021, expires on 12.01.2022]
[Serialize, Obsolete]
[Serialize, Obsolete, NoUndo]
private float WalkableMaxSlopeAngle
{
get => throw new Exception();

View File

@@ -143,7 +143,6 @@ ParticleManagerService ParticleManagerServiceInstance;
void Particles::UpdateEffect(ParticleEffect* effect)
{
ASSERT_LOW_LAYER(!UpdateList.Contains(effect));
UpdateList.Add(effect);
}