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
Make extrusion made on prism is modified after sketch update: regression fix
[modules/shaper.git]
/
src
/
Model
/
Model_ResultConstruction.cpp
diff --git
a/src/Model/Model_ResultConstruction.cpp
b/src/Model/Model_ResultConstruction.cpp
index 17b20df98dc4eff497b1eb03ed3bfbbbbaf72e09..2998e9f2db8a4879186ed9cbb458051d027100d1 100644
(file)
--- a/
src/Model/Model_ResultConstruction.cpp
+++ b/
src/Model/Model_ResultConstruction.cpp
@@
-28,9
+28,9
@@
void Model_ResultConstruction::colorConfigInfo(std::string& theSection, std::str
void Model_ResultConstruction::setShape(std::shared_ptr<GeomAPI_Shape> theShape)
{
void Model_ResultConstruction::setShape(std::shared_ptr<GeomAPI_Shape> theShape)
{
- if (myShape != theShape) {
+ if (myShape != theShape
&& (!theShape.get() || !theShape->isEqual(myShape))
) {
myShape = theShape;
myShape = theShape;
- if (theShape.get()
&& (!myShape.get() || !theShape->isEqual(myShape))
) {
+ if (theShape.get()) {
myFacesUpToDate = false;
myFaces.clear();
}
myFacesUpToDate = false;
myFaces.clear();
}