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 #1202 : update the shape of the referenced plane
[modules/shaper.git]
/
src
/
SketcherPrs
/
SketcherPrs_Transformation.cpp
diff --git
a/src/SketcherPrs/SketcherPrs_Transformation.cpp
b/src/SketcherPrs/SketcherPrs_Transformation.cpp
index 8639c3bb0351258ba7f42c3dc5c2f0ee858ed567..cd6f54a7697dbf104fc32164c0a7961dfaaa5d01 100644
(file)
--- a/
src/SketcherPrs/SketcherPrs_Transformation.cpp
+++ b/
src/SketcherPrs/SketcherPrs_Transformation.cpp
@@
-62,6
+62,8
@@
bool SketcherPrs_Transformation::updatePoints(double theStep) const
// Compute points of symbols
for (i = 0; i < aNbB; i++) {
aObj = anAttrB->object(i);
+ if (SketcherPrs_Tools::getShape(aObj).get() == NULL)
+ continue;
aP1 = aMgr->getPosition(aObj, this, theStep);
myPntArray->SetVertice(i + 1, aP1);
}