diff options
author | William Reynish <billrey@me.com> | 2019-05-31 12:19:56 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-05-31 12:19:56 +0300 |
commit | 8d95dcd87dbb5775236126e61fcc5c2ac951ca0f (patch) | |
tree | 3a0915066f2a57a8594caec5b627ac7f2f95a0e9 /source/blender/makesrna | |
parent | 9f0107bb14f3eb0e6e7f6e5841bd7043d2c4e1e4 (diff) |
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.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_camera.c b/source/blender/makesrna/intern/rna_camera.c index 6bab07d2940..eda89ebfb50 100644 --- a/source/blender/makesrna/intern/rna_camera.c +++ b/source/blender/makesrna/intern/rna_camera.c @@ -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); |