Sequence sound was raising a python exception with crop and offset buttons.
renamed RNA properties. x_offset, y_offset -> offset_x, offset_y, this order is more common in rna. render.border -> render.use_border render.placeholders -> render.use_placeholder render.no_overwrite -> render.use_overwrite
This commit is contained in:
@@ -401,13 +401,13 @@ static void rna_def_font(BlenderRNA *brna, StructRNA *srna)
|
||||
RNA_def_property_ui_text(prop, "Shear", "Italic angle of the characters");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "x_offset", PROP_FLOAT, PROP_NONE);
|
||||
prop= RNA_def_property(srna, "offset_x", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "xof");
|
||||
RNA_def_property_range(prop, -50.0f, 50.0f);
|
||||
RNA_def_property_ui_text(prop, "X Offset", "Horizontal offset from the object center");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop= RNA_def_property(srna, "y_offset", PROP_FLOAT, PROP_NONE);
|
||||
prop= RNA_def_property(srna, "offset_y", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "yof");
|
||||
RNA_def_property_range(prop, -50.0f, 50.0f);
|
||||
RNA_def_property_ui_text(prop, "Y Offset", "Vertical offset from the object center");
|
||||
|
||||
Reference in New Issue
Block a user