From a175d04f860b881a763edf82d158ece6e4be73a6 Mon Sep 17 00:00:00 2001 From: dnk-88 Date: Sun, 10 Jun 2012 18:27:47 +0300 Subject: [PATCH] Changed: #1302 Fixed undo/redo bug (moving primitives). --HG-- branch : gsoc2011-worldeditorqt --- .../src/plugins/world_editor/world_editor_scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/world_editor/world_editor_scene.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/world_editor/world_editor_scene.cpp index e24ef50e7..678b361fe 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/world_editor/world_editor_scene.cpp +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/world_editor/world_editor_scene.cpp @@ -467,7 +467,7 @@ void WorldEditorScene::updatePickSelectionPoints(const QPointF &point) void WorldEditorScene::checkUndo() { - if (m_editedSelectedItems) + if (m_editedSelectedItems && (!isEnabledEditPoints())) { switch (m_mode) {