TD: add units for line widths
- this also prevents negative values - also fix an issue in DrawViewBalloon introduced by me recently
This commit is contained in:
@@ -43,10 +43,10 @@ public:
|
||||
/// destructor
|
||||
virtual ~ViewProviderViewPart();
|
||||
|
||||
App::PropertyFloat LineWidth;
|
||||
App::PropertyFloat HiddenWidth;
|
||||
App::PropertyFloat IsoWidth;
|
||||
App::PropertyFloat ExtraWidth;
|
||||
App::PropertyLength LineWidth;
|
||||
App::PropertyLength HiddenWidth;
|
||||
App::PropertyLength IsoWidth;
|
||||
App::PropertyLength ExtraWidth;
|
||||
App::PropertyBool ArcCenterMarks;
|
||||
App::PropertyFloat CenterScale;
|
||||
App::PropertyBool HorizCenterLine;
|
||||
@@ -64,6 +64,8 @@ public:
|
||||
public:
|
||||
virtual void onChanged(const App::Property *prop);
|
||||
virtual void updateData(const App::Property*);
|
||||
virtual void handleChangedPropertyType(Base::XMLReader &reader, const char *TypeName, App::Property * prop);
|
||||
|
||||
|
||||
virtual std::vector<App::DocumentObject*> claimChildren(void) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user