From: akondrat Date: Thu, 20 Oct 2022 06:28:49 +0000 (+0300) Subject: [bos #32342] EDF 26130 - Undo and auxiliarity X-Git-Tag: V9_10_0b1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6682f07e80f318796eeb031b7d0293acf8f2b948;p=modules%2Fshaper.git [bos #32342] EDF 26130 - Undo and auxiliarity Add update of visual objects after aborting operation. --- diff --git a/src/ModuleBase/ModuleBase_OperationFeature.cpp b/src/ModuleBase/ModuleBase_OperationFeature.cpp index 77b0956e0..4a3466ba6 100644 --- a/src/ModuleBase/ModuleBase_OperationFeature.cpp +++ b/src/ModuleBase/ModuleBase_OperationFeature.cpp @@ -278,6 +278,12 @@ void ModuleBase_OperationFeature::abort() new Events_Message(Events_Loop::eventByName(EVENT_UPDATE_VIEWER_BLOCKED))); Events_Loop::loop()->send(aMsg); + if (myFeature.get()) + { + static const Events_ID anEvent = Events_Loop::eventByName(EVENT_VISUAL_ATTRIBUTES); + ModelAPI_EventCreator::get()->sendUpdated(myFeature, anEvent); + } + // the widgets of property panel should not process any events come from data mode // after abort clicked. Some signal such as redisplay/create influence on content // of the object browser and viewer context. Therefore it influence to the current