Commit 65b8457a authored by logari81's avatar logari81
Browse files

Sketcher: Avoid unnecessary updates in the ViewProviderSketch

parent 8df4a298
......@@ -2804,7 +2804,8 @@ void ViewProviderSketch::updateData(const App::Property *prop)
{
ViewProvider2DObject::updateData(prop);
if (edit && (prop == &(getSketchObject()->Geometry) || &(getSketchObject()->Constraints))) {
if (edit && (prop == &(getSketchObject()->Geometry) ||
prop == &(getSketchObject()->Constraints))) {
edit->FullyConstrained = false;
solveSketch();
draw(true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment