Part: PR6497 move return statement to new line
This commit is contained in:
@@ -246,7 +246,8 @@ void ViewProvider2DObjectGrid::updateData(const App::Property* prop)
|
||||
if (prop->getTypeId() == Part::PropertyPartShape::getClassTypeId()) {
|
||||
if (GridAutoSize.getValue()) {
|
||||
Base::BoundBox3d bbox = static_cast<const Part::PropertyPartShape*>(prop)->getBoundingBox();
|
||||
if (!bbox.IsValid()) return;
|
||||
if (!bbox.IsValid())
|
||||
return;
|
||||
Gui::coinRemoveAllChildren(GridRoot);
|
||||
Base::Placement place = static_cast<const Part::PropertyPartShape*>(prop)->getComplexData()->getPlacement();
|
||||
place.invert();
|
||||
|
||||
Reference in New Issue
Block a user