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:
William Reynish 2019-05-31 11:19:56 +02:00
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
1 changed files with 1 additions and 1 deletions

View File

@ -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);