Fix: add label to View Center property

For unknown reasons, this property did not have a label before.

Pull Request: https://projects.blender.org/blender/blender/pulls/147712
This commit is contained in:
Dan Oak
2025-10-13 13:11:15 +02:00
committed by Jacques Lucke
parent 00dd0ac683
commit 633102c219

View File

@@ -9436,7 +9436,7 @@ static void rna_def_nodetree(BlenderRNA *brna)
RNA_def_property_array(prop, 2);
RNA_def_property_float_sdna(prop, nullptr, "view_center");
RNA_def_property_ui_text(
prop, "", "The current location (offset) of the view for this Node Tree");
prop, "View Center", "The current location (offset) of the view for this Node Tree");
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
prop = RNA_def_property(srna, "description", PROP_STRING, PROP_NONE);