Fix swapped descriptions for window X/Y position properties.
This commit is contained in:
@@ -1721,12 +1721,12 @@ static void rna_def_window(BlenderRNA *brna)
|
||||
prop = RNA_def_property(srna, "x", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "posx");
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "X Position", "Vertical location of the window");
|
||||
RNA_def_property_ui_text(prop, "X Position", "Horizontal location of the window");
|
||||
|
||||
prop = RNA_def_property(srna, "y", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "posy");
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_ui_text(prop, "Y Position", "Horizontal location of the window");
|
||||
RNA_def_property_ui_text(prop, "Y Position", "Vertical location of the window");
|
||||
|
||||
prop = RNA_def_property(srna, "width", PROP_INT, PROP_UNSIGNED);
|
||||
RNA_def_property_int_sdna(prop, NULL, "sizex");
|
||||
|
||||
Reference in New Issue
Block a user