PartDesign/ViewProviderDatum: minor enhancements

- added defaultSize constant
 - fixed typo in margin{g,}Factor function name
This commit is contained in:
Alexander Golubev
2016-04-12 18:12:19 +02:00
committed by Stefan Tröger
parent d4c67c0366
commit fa29bfa667
4 changed files with 11 additions and 5 deletions
@@ -87,7 +87,7 @@ void ViewProviderDatumLine::setExtents (Base::BoundBox3d bbox) {
// Add origin of the line to the box if it's not
bbox.Add ( Base::Vector3d (0, 0, 0) );
double marging = bbox.LengthZ () * margingFactor ();
double marging = bbox.LengthZ () * marginFactor ();
// Display the line
pCoords->point.setNum (2);