Cleanup: Description for deprecated use_nodes
Pull Request: https://projects.blender.org/blender/blender/pulls/146721
This commit is contained in:
@@ -1110,7 +1110,11 @@ void RNA_def_material(BlenderRNA *brna)
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
RNA_def_property_ui_text(prop, "Use Nodes", "Use shader nodes to render the material");
|
||||
RNA_def_property_boolean_funcs(prop, "rna_Material_use_nodes_get", "rna_Material_use_nodes_set");
|
||||
RNA_def_property_deprecated(prop, "Unused", 500, 600);
|
||||
RNA_def_property_deprecated(prop,
|
||||
"Unused but kept for compatibility reasons. Setting the property "
|
||||
"has no effect, and getting it always returns True.",
|
||||
500,
|
||||
600);
|
||||
|
||||
/* common */
|
||||
rna_def_animdata_common(srna);
|
||||
|
||||
@@ -262,7 +262,11 @@ void RNA_def_world(BlenderRNA *brna)
|
||||
RNA_def_property_flag(prop, PROP_CONTEXT_UPDATE);
|
||||
RNA_def_property_ui_text(prop, "Use Nodes", "Use shader nodes to render the world");
|
||||
RNA_def_property_boolean_funcs(prop, "rna_World_use_nodes_get", "rna_World_use_nodes_set");
|
||||
RNA_def_property_deprecated(prop, "Unused", 500, 600);
|
||||
RNA_def_property_deprecated(prop,
|
||||
"Unused but kept for compatibility reasons. Setting the property "
|
||||
"has no effect, and getting it always returns True.",
|
||||
500,
|
||||
600);
|
||||
|
||||
/* Lightgroup Membership */
|
||||
prop = RNA_def_property(srna, "lightgroup", PROP_STRING, PROP_NONE);
|
||||
|
||||
Reference in New Issue
Block a user