Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for the issue #910: never fully remove the results, just make them disabled when...
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_WidgetShapeSelector.cpp
diff --git
a/src/PartSet/PartSet_WidgetShapeSelector.cpp
b/src/PartSet/PartSet_WidgetShapeSelector.cpp
old mode 100644
(file)
new mode 100755
(executable)
index
5b2a4e7
..
0bbeb05
--- a/
src/PartSet/PartSet_WidgetShapeSelector.cpp
+++ b/
src/PartSet/PartSet_WidgetShapeSelector.cpp
@@
-94,7
+94,7
@@
void PartSet_WidgetShapeSelector::getGeomSelection(const ModuleBase_ViewerPrs& t
aShape = aResult->shape();
}
if (aShape.get() != NULL && !aShape->isNull())
aShape = aResult->shape();
}
if (aShape.get() != NULL && !aShape->isNull())
- theObject = myExternalObjectMgr->externalObject(theObject, aShape, sketch());
+ theObject = myExternalObjectMgr->externalObject(theObject, aShape, sketch()
, myIsInValidate
);
}
}
}
}
@@
-115,7
+115,7
@@
GeomShapePtr PartSet_WidgetShapeSelector::getShape() const
void PartSet_WidgetShapeSelector::restoreAttributeValue(const bool theValid)
{
ModuleBase_WidgetShapeSelector::restoreAttributeValue(theValid);
void PartSet_WidgetShapeSelector::restoreAttributeValue(const bool theValid)
{
ModuleBase_WidgetShapeSelector::restoreAttributeValue(theValid);
- myExternalObjectMgr->removeExternal(sketch(), myFeature, myWorkshop);
+ myExternalObjectMgr->removeExternal(sketch(), myFeature, myWorkshop
, true
);
}
//********************************************************************
}
//********************************************************************