From: azv Date: Wed, 23 Dec 2015 12:10:47 +0000 (+0300) Subject: Disable update of sketch parameters from solver X-Git-Tag: V_2.1.0~95 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=449b13d5dc88f1da8049326f6ec8f39a0ec507a1;p=modules%2Fshaper.git Disable update of sketch parameters from solver --- diff --git a/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Storage.cpp b/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Storage.cpp index 8cdc22040..b28e1b63d 100644 --- a/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Storage.cpp +++ b/src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Storage.cpp @@ -1621,6 +1621,11 @@ void SolveSpaceSolver_Storage::refresh(bool theFixedOnly) const std::dynamic_pointer_cast(anIt->first->owner()); if (aSketchFeature.get() && aSketchFeature->isExternal()) continue; + // not need to refresh here sketch's origin and normal vector + CompositeFeaturePtr aSketch = + std::dynamic_pointer_cast(anIt->first->owner()); + if (aSketch) + continue; } // update parameter wrappers and obtain values of attributes