TD: modernize C++11
* use nullptr
This commit is contained in:
@@ -51,7 +51,7 @@ DrawViewDraft::DrawViewDraft(void)
|
||||
{
|
||||
static const char *group = "Draft view";
|
||||
|
||||
ADD_PROPERTY_TYPE(Source ,(0),group,App::Prop_None,"Draft object for this view");
|
||||
ADD_PROPERTY_TYPE(Source ,(nullptr),group,App::Prop_None,"Draft object for this view");
|
||||
Source.setScope(App::LinkScope::Global);
|
||||
ADD_PROPERTY_TYPE(LineWidth,(0.35),group,App::Prop_None,"Line width of this view. If Override Style is false, this value multiplies the object line width");
|
||||
ADD_PROPERTY_TYPE(FontSize,(12.0),group,App::Prop_None,"Text size for this view");
|
||||
|
||||
Reference in New Issue
Block a user