Mantis issue 0021069: Hide selected in explode function. Fix remark 0010687.

This commit is contained in:
jfa 2011-04-21 05:26:25 +00:00
parent 1e1fc89697
commit 8cd1b6d46d
2 changed files with 4 additions and 0 deletions

View File

@ -638,6 +638,8 @@ void EntityGUI_SubShapeDlg::activateSelection()
if (!myObject->_is_nil() && !isAllSubShapes())
{
GEOM_Displayer* aDisplayer = getDisplayer();
aDisplayer->Erase(myObject, false, false);
int prevDisplayMode = aDisplayer->SetDisplayMode(0);
SUIT_ViewWindow* aViewWindow = 0;

View File

@ -784,6 +784,8 @@ void GroupGUI_GroupDlg::activateSelection()
myIsShapeType) // check if shape type is already choosen by user
{
GEOM_Displayer* aDisplayer = getDisplayer();
aDisplayer->Erase(myMainObj, false, false);
int prevDisplayMode = aDisplayer->SetDisplayMode(0);
SUIT_ViewWindow* aViewWindow = 0;