Salome HOME
Delete key regression corrections: in previous implementation sketch entities did...
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Transformation.cpp
index 8639c3bb0351258ba7f42c3dc5c2f0ee858ed567..cd6f54a7697dbf104fc32164c0a7961dfaaa5d01 100644 (file)
@@ -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);
   }