From: Sergey BELASH Date: Wed, 5 Nov 2014 15:30:40 +0000 (+0300) Subject: Runtime error in libPartSet on linux resolved. X-Git-Tag: V_0.5~37^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b56dc29c9236d2769bf5f8a927f8ba8eb343251e;p=modules%2Fshaper.git Runtime error in libPartSet on linux resolved. --- diff --git a/src/PartSet/PartSet_OperationSketch.cpp b/src/PartSet/PartSet_OperationSketch.cpp index 10f6a345d..908ee3c51 100644 --- a/src/PartSet/PartSet_OperationSketch.cpp +++ b/src/PartSet/PartSet_OperationSketch.cpp @@ -105,9 +105,9 @@ void PartSet_OperationSketch::selectionChanged(ModuleBase_ISelection* theSelecti // If selection is not a sketcher presentation then it has to be stored as // External shape if (feature() != aPrs.object()) { - boost::shared_ptr aSketch = - boost::dynamic_pointer_cast(feature()); - DataPtr aData = aSketch->data(); + //boost::shared_ptr aSketch = + // boost::dynamic_pointer_cast(feature()); + DataPtr aData = feature()->data(); AttributeSelectionPtr aSelAttr = boost::dynamic_pointer_cast (aData->attribute(SketchPlugin_Feature::EXTERNAL_ID()));