From 304d97f4f60b1f2143036c8f8438bd5944bd700d Mon Sep 17 00:00:00 2001 From: sbh Date: Wed, 1 Apr 2015 20:09:32 +0300 Subject: [PATCH] Disabled pieces of code which causes runtime error in libSketchSolver.so undefined symbol: _ZTI18SketchPlugin_Point (./libSketchSolver.so) --- src/SketchSolver/SketchSolver_ConstraintGroup.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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, -- 2.39.2