Remove orthographic camera Scale hard min/max and make them soft limits instead,
based on patch by Alexander Trum.
This commit is contained in:
@@ -208,7 +208,8 @@ void RNA_def_camera(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "ortho_scale", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "ortho_scale");
|
||||
RNA_def_property_range(prop, 0.01f, 4000.0f);
|
||||
RNA_def_property_range(prop, FLT_MIN, FLT_MAX);
|
||||
RNA_def_property_ui_range(prop, 0.001f, 10000.0f, 10, 3);
|
||||
RNA_def_property_ui_text(prop, "Orthographic Scale", "Orthographic Camera scale (similar to zoom)");
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Camera_update");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user