+ add convenience method recomputeFeature()

+ make method recompute() protected
This commit is contained in:
wmayer
2016-11-06 17:16:50 +01:00
parent bbf5548899
commit 3b961bcb5f
13 changed files with 41 additions and 32 deletions

View File

@@ -305,7 +305,7 @@ App::DocumentObject * DrawProjGroup::addProjection(const char *viewProjType)
addView(view); //from DrawViewCollection - add to ProjGroup Views
moveToCentre();
view->recompute();
view->recomputeFeature();
}
return view;
@@ -641,7 +641,7 @@ void DrawProjGroup::updateChildren(double scale)
if(std::abs(view->Scale.getValue() - scale) > FLT_EPSILON) {
view->Scale.setValue(scale);
}
view->recompute();
view->recomputeFeature();
}
}
}