Added checks so invalid struct and property identifiers while preprocessing,
Changed curve '3d' property to 'planer' and set to a negative bool.
This commit is contained in:
@@ -113,9 +113,9 @@ void rna_def_curve(BlenderRNA *brna)
|
||||
RNA_def_property_ui_text(prop, "Taper Object", "Curve object name that defines the taper (width).");
|
||||
|
||||
/* Flags */
|
||||
prop= RNA_def_property(srna, "3d", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_3D);
|
||||
RNA_def_property_ui_text(prop, "3D Curve", "Define curve in three dimensions. Note that in this case fill won't work.");
|
||||
prop= RNA_def_property(srna, "planer", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", CU_3D);
|
||||
RNA_def_property_ui_text(prop, "2D Curve", "Define curve in two dimensions only. Note that fill only works when this is enabled.");
|
||||
|
||||
prop= RNA_def_property(srna, "front", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", CU_FRONT);
|
||||
|
||||
Reference in New Issue
Block a user