2
0
Эх сурвалжийг харах

Bugfix: Properly handle undo-redo for InspectableInt fields

BearishSun 6 жил өмнө
parent
commit
169d75257a

+ 0 - 3
Source/EditorManaged/Windows/Inspector/InspectableInt.cs

@@ -1,6 +1,5 @@
 //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
 //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
-
 using bs;
 
 namespace bs.Editor
@@ -96,8 +95,6 @@ namespace bs.Editor
         /// </summary>
         private void OnFieldValueConfirm()
         {
-            StartUndo();
-
             if(state.HasFlag(InspectableState.ModifyInProgress))
                 state |= InspectableState.Modified;
 

+ 1 - 1
Source/bsf

@@ -1 +1 @@
-Subproject commit f60df2fd34730b6c469c124a71d53c0fe09aa171
+Subproject commit 8d2260f3b0b3f2dd0d82f1eb26c1757cf9fc629b