Add default parameter for Page Scale

This commit is contained in:
wandererfan
2019-04-02 13:35:47 -04:00
committed by WandererFan
parent 3beb18b256
commit ca24f0a821

View File

@@ -100,8 +100,10 @@ DrawPage::DrawPage(void)
ADD_PROPERTY(ProjectionType, ((long)projType));
}
ADD_PROPERTY_TYPE(Scale, (1.0), group, App::Prop_None, "Scale factor for this Page");
ADD_PROPERTY_TYPE(Scale, (1.0), group, (App::PropertyType)(App::Prop_None), "Scale factor for this Page");
Scale.setConstraints(&scaleRange);
double defScale = hGrp->GetFloat("DefaultScale",1.0);
Scale.setValue(defScale);
}
DrawPage::~DrawPage()