]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_OperationPrs.cpp
Salome HOME
Useful commits from master and V8_5_0
[modules/shaper.git] / src / PartSet / PartSet_OperationPrs.cpp
index 720a0ea9c763a169456ffc8677395a8e3a22c595..1781e96ae3fb8d8807883b5c3b0cfbdd5fefc5ee 100755 (executable)
@@ -141,7 +141,12 @@ void PartSet_OperationPrs::Compute(
         setWidth(aDrawer, aWidth);
       }
     }
-    StdPrs_WFShape::Add(thePresentation, aShape, aDrawer);
+    try {
+      StdPrs_WFShape::Add(thePresentation, aShape, aDrawer);
+    }
+    catch (...) {
+      return;
+    }
   }
   Set(aComp);
   if (!aReadyToDisplay) {