Browse Source

Return undo/redo handled

Josh Engebretson 10 years ago
parent
commit
4aa944ddff
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/AtomicEditor/Editors/SceneEditor3D/SceneEditor3D.cpp

+ 2 - 0
Source/AtomicEditor/Editors/SceneEditor3D/SceneEditor3D.cpp

@@ -152,10 +152,12 @@ bool SceneEditor3D::OnEvent(const TBWidgetEvent &ev)
         else if (ev.ref_id == TBIDC("undo"))
         {
             Undo();
+            return true;
         }
         else if (ev.ref_id == TBIDC("redo"))
         {
             Redo();
+            return true;
         }
     }