From 72a46e925d6709ff80de76733f29c32bf48569cc Mon Sep 17 00:00:00 2001 From: nds Date: Sun, 10 Dec 2017 11:39:02 +0300 Subject: [PATCH] Minor code correction: undo/redo unification, show hide faces panel in debug, do not reset hide faces panel by abort operation (there are no modifications in model on selection) --- src/XGUI/XGUI_WorkshopListener.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/XGUI/XGUI_WorkshopListener.cpp b/src/XGUI/XGUI_WorkshopListener.cpp index 218058a69..fd5c11630 100755 --- a/src/XGUI/XGUI_WorkshopListener.cpp +++ b/src/XGUI/XGUI_WorkshopListener.cpp @@ -161,8 +161,8 @@ void XGUI_WorkshopListener::processEvent(const std::shared_ptr& if (aWidgetSelector) workshop()->selector()->setSelected(aWidgetSelector->getAttributeSelection()); } - } else if (theMessage->eventID() == Events_Loop::eventByName("FinishOperation") || - theMessage->eventID() == Events_Loop::eventByName("AbortOperation")) + } else if (theMessage->eventID() == Events_Loop::eventByName("FinishOperation")/* || + theMessage->eventID() == Events_Loop::eventByName("AbortOperation")*/) workshop()->facesPanel()->reset(false); // do not flush redisplay, it is flushed after event //Update property panel on corresponding message. If there is no current operation (no -- 2.39.2