From: azv Date: Fri, 23 May 2014 05:34:51 +0000 (+0400) Subject: Problem with constrtaints in Release was fixed X-Git-Tag: V_0.2~20^2^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9f6d73ba26fb65ec907cea31c5f0f4fda455ee51;p=modules%2Fshaper.git Problem with constrtaints in Release was fixed --- 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()