From: sbh Date: Wed, 1 Apr 2015 17:09:32 +0000 (+0300) Subject: Disabled pieces of code which causes runtime error in libSketchSolver.so X-Git-Tag: V_1.1.0~57^2~25^2~3^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=304d97f4f60b1f2143036c8f8438bd5944bd700d;p=modules%2Fshaper.git Disabled pieces of code which causes runtime error in libSketchSolver.so undefined symbol: _ZTI18SketchPlugin_Point (./libSketchSolver.so) --- diff --git a/src/SketchSolver/SketchSolver_ConstraintGroup.cpp b/src/SketchSolver/SketchSolver_ConstraintGroup.cpp index f54067afa..b5a33d8d2 100644 --- a/src/SketchSolver/SketchSolver_ConstraintGroup.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintGroup.cpp @@ -507,9 +507,10 @@ bool SketchSolver_ConstraintGroup::changeRigidConstraint( std::dynamic_pointer_cast(aConstrAttr->attr()); std::shared_ptr aPoint2D = std::dynamic_pointer_cast(aConstrAttr->attr()); - std::shared_ptr aSketchPoint = - std::dynamic_pointer_cast(aFeature); - if (aPoint || aPoint2D || aSketchPoint) { +// std::shared_ptr aSketchPoint = +// std::dynamic_pointer_cast(aFeature); +// if (aPoint || aPoint2D || aSketchPoint) { + if (aPoint || aPoint2D) { // Create SolveSpace constraint structure Slvs_Constraint aConstraint = Slvs_MakeConstraint( ++myConstrMaxID, myID, aConstrType, myWorkplane.h, 0.0,