Fix: Don't use a slider to control the Background Image Scale property.
It makes no sense to control this with a slider, since it became difficult to scale in normal ranges, and scale factors aren't represented well this way.
This commit is contained in:
parent
9f0107bb14
commit
8d95dcd87d
Notes:
blender-bot
2023-09-08 04:55:43 +02:00
Referenced by issue #65348, Blender 2.8 crash - convert to curve from mesh under all conditions
|
@ -234,7 +234,7 @@ static void rna_def_camera_background_image(BlenderRNA *brna)
|
|||
RNA_def_property_ui_text(prop, "Offset", "");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "scale", PROP_FLOAT, PROP_FACTOR);
|
||||
prop = RNA_def_property(srna, "scale", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_sdna(prop, NULL, "scale");
|
||||
RNA_def_property_ui_text(prop, "Scale", "Scale the background image");
|
||||
RNA_def_property_range(prop, 0.0, FLT_MAX);
|
||||
|
|
Loading…
Reference in New Issue