]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Problem with constrtaints in Release was fixed
authorazv <artem.zhidkov@opencascade.com>
Fri, 23 May 2014 05:34:51 +0000 (09:34 +0400)
committerazv <artem.zhidkov@opencascade.com>
Fri, 23 May 2014 05:34:51 +0000 (09:34 +0400)
src/SketchSolver/SketchSolver_ConstraintManager.cpp

index 7caf4342ca625a72908582d28b85248bada6a7bb..e4cb6610e5b15e84f7ebc20d1b43e9b8764ad170 100644 (file)
@@ -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()