diff options
author | William Reynish <billrey@me.com> | 2019-03-07 01:19:48 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-03-07 01:19:48 +0300 |
commit | bc8d1feb4d585ab617079c9b994a8cf8e0772e2b (patch) | |
tree | 700b39dda1818e98c321c4df6c7cdc0b443d96c3 /source/blender | |
parent | b39985eddb2a2182497f457daeb3125d4862e0a2 (diff) |
Units: Fix unreported. Audio volume is not a percentage
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index ea8ed296cc5..8a444002e29 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -6705,7 +6705,7 @@ void RNA_def_scene(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Distance Model", "Distance model for distance attenuation calculation"); RNA_def_property_update(prop, NC_SCENE, "rna_Scene_listener_update"); - prop = RNA_def_property(srna, "audio_volume", PROP_FLOAT, PROP_PERCENTAGE); + prop = RNA_def_property(srna, "audio_volume", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "audio.volume"); RNA_def_property_range(prop, 0.0f, 100.0f); RNA_def_property_ui_text(prop, "Volume", "Audio volume"); |