From 8e045482c9aa77d13371f0cbf113d8ed9037a9c0 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 7 Dec 2017 12:56:40 +0300 Subject: [PATCH] Issue #2346 Hide faces and Undo/Redo : reset panel by Undo/Redo --- src/XGUI/XGUI_Workshop.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 9d821a814..5d935ad3f 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -1041,6 +1041,7 @@ void XGUI_Workshop::onUndo(int theTimes) if (QString((*aIt).c_str()) == MOVE_TO_END_COMMAND) myObjectBrowser->rebuildDataTree(); } + facesPanel()->reset(true); operationMgr()->updateApplyOfOperations(); updateCommandStatus(); @@ -1075,6 +1076,7 @@ void XGUI_Workshop::onRedo(int theTimes) myObjectBrowser->rebuildDataTree(); } operationMgr()->updateApplyOfOperations(); + facesPanel()->reset(true); updateCommandStatus(); // unblock the viewer update functionality and make update on purpose -- 2.39.2