PD: remove trailing whitespace
This commit is contained in:
@@ -190,7 +190,7 @@ void ViewProviderDatumCoordinateSystem::setupLabels() {
|
||||
|
||||
void ViewProviderDatumCoordinateSystem::updateData(const App::Property* prop)
|
||||
{
|
||||
if (strcmp(prop->getName(),"Placement") == 0)
|
||||
if (strcmp(prop->getName(),"Placement") == 0)
|
||||
updateExtents ();
|
||||
|
||||
ViewProviderDatum::updateData(prop);
|
||||
@@ -203,7 +203,7 @@ void ViewProviderDatumCoordinateSystem::onChanged(const App::Property *prop) {
|
||||
else if(prop == &Zoom) {
|
||||
autoZoom->scaleFactor.setValue(Zoom.getValue());
|
||||
updateExtents ();
|
||||
} else if(prop == &FontSize)
|
||||
} else if(prop == &FontSize)
|
||||
font->size = FontSize.getValue();
|
||||
}
|
||||
ViewProviderDatum::onChanged(prop);
|
||||
@@ -212,7 +212,7 @@ void ViewProviderDatumCoordinateSystem::onChanged(const App::Property *prop) {
|
||||
void ViewProviderDatumCoordinateSystem::setExtents (Base::BoundBox3d bbox) {
|
||||
// Axis length of the CS is 1/3 of maximum bbox dimension, any smarter sizing will make it only worse
|
||||
double axisLength;
|
||||
|
||||
|
||||
if(Zoom.getValue()) {
|
||||
axisLength = 6 * Zoom.getValue();
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user