RNA
* Added a function to define booleans negative, to turn negative properties into positive ones gettin rid of the no_ prefix, and also got rid of the use_ prefix for two booleans. * Also made the function for enum bitflags separate, this is quite rare so don't need to bother with this in most cases. * Removed svn:executable flags from some files.
This commit is contained in:
@@ -137,7 +137,7 @@ void RNA_def_scene(BlenderRNA *brna)
|
||||
RNA_def_property_ui_text(prop, "Stamp Note", "User define note for the render stamping.");
|
||||
|
||||
prop= RNA_def_property(srna, "unwrapper", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "toolsettings->unwrapper", 0);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "toolsettings->unwrapper");
|
||||
RNA_def_property_enum_items(prop, unwrapper_items);
|
||||
RNA_def_property_ui_text(prop, "Unwrapper", "Unwrap algorithm used by the Unwrap tool.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user