diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-12-18 09:43:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-12-18 09:43:03 +0300 |
commit | 96bad930de846de0b13bc59b65e3e4fed41769e9 (patch) | |
tree | 03541bd0f8f989e9414ab9d883aec9f083662e8c /source/blender/makesrna/intern/rna_curve.c | |
parent | a196d283ed4d45d5cfd06b8caecab36e9b43e260 (diff) |
Added checks so invalid struct and property identifiers while preprocessing,
Changed curve '3d' property to 'planer' and set to a negative bool.
Diffstat (limited to 'source/blender/makesrna/intern/rna_curve.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_curve.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index c83bafc1c4c..ade01c9f2c2 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -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); |