rename 2d tool classes to be consistent with 3d classes
This commit is contained in:
@@ -204,11 +204,11 @@ void ViewProvider2DObject::updateData(const App::Property* prop)
|
||||
Base::Placement place = static_cast<const Part::PropertyPartShape*>(prop)->getComplexData()->getPlacement();
|
||||
place.invert();
|
||||
Base::ViewProjMatrix proj(place.toMatrix());
|
||||
Base::BoundBox2D bbox2d = bbox.ProjectBox(&proj);
|
||||
this->MinX = bbox2d.fMinX;
|
||||
this->MaxX = bbox2d.fMaxX;
|
||||
this->MinY = bbox2d.fMinY;
|
||||
this->MaxY = bbox2d.fMaxY;
|
||||
Base::BoundBox2d bbox2d = bbox.ProjectBox(&proj);
|
||||
this->MinX = bbox2d.MinX;
|
||||
this->MaxX = bbox2d.MaxX;
|
||||
this->MinY = bbox2d.MinY;
|
||||
this->MaxY = bbox2d.MaxY;
|
||||
if (ShowGrid.getValue()) {
|
||||
createGrid();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user