fix [#24870] ObjectActuator.offset_rotation in radians
This commit is contained in:
parent
ee1d2adc16
commit
60d13818cf
@ -669,7 +669,7 @@ static void rna_def_object_actuator(BlenderRNA *brna)
|
||||
RNA_def_property_ui_text(prop, "Loc", "Sets the location");
|
||||
RNA_def_property_update(prop, NC_LOGIC, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "offset_rotation", PROP_FLOAT, PROP_XYZ);
|
||||
prop= RNA_def_property(srna, "offset_rotation", PROP_FLOAT, PROP_EULER);
|
||||
RNA_def_property_float_sdna(prop, NULL, "drot");
|
||||
RNA_def_property_array(prop, 3);
|
||||
RNA_def_property_ui_range(prop, -10000.0, 10000.0, 10, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user