From: akondrat Date: Wed, 30 Nov 2022 08:07:01 +0000 (+0300) Subject: [bos #32342] EDF 26130 - Undo and auxiliarity X-Git-Tag: V9_11_0a1~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d1bf96e37f50cceb9a4c225addf693d2460334ba;p=modules%2Fshaper.git [bos #32342] EDF 26130 - Undo and auxiliarity Add update of visual objects after undoing operation. --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 4d6efbfc9..482fcb8e8 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -1321,6 +1321,11 @@ void XGUI_Workshop::processUndoRedo(const ModuleBase_ActionType theActionType, i facesPanel()->reset(true); updateCommandStatus(); + QObjectPtrList aList = myDisplayer->displayedObjects(); + foreach(ObjectPtr aObj, aList) { + module()->customizePresentation(aObj, myDisplayer->getAISObject(aObj)); + } + // unblock the viewer update functionality and make update on purpose myDisplayer->enableUpdateViewer(isUpdateEnabled); myDisplayer->updateViewer();