From 9f6d73ba26fb65ec907cea31c5f0f4fda455ee51 Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 23 May 2014 09:34:51 +0400 Subject: [PATCH] Problem with constrtaints in Release was fixed --- src/SketchSolver/SketchSolver_ConstraintManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SketchSolver/SketchSolver_ConstraintManager.cpp b/src/SketchSolver/SketchSolver_ConstraintManager.cpp index 7caf4342c..e4cb6610e 100644 --- a/src/SketchSolver/SketchSolver_ConstraintManager.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintManager.cpp @@ -311,7 +311,11 @@ SketchSolver_ConstraintManager::SketchSolver_ConstraintGroup:: // Initialize workplane myWorkplane.h = SLVS_E_UNKNOWN; +#ifndef NDEBUG assert(addWorkplane(theWorkplane)); +#else + addWorkplane(theWorkplane); +#endif } SketchSolver_ConstraintManager::SketchSolver_ConstraintGroup::~SketchSolver_ConstraintGroup() -- 2.39.2