[Bf-blender-cvs] [bc8d1feb4d5] master: Units: Fix unreported. Audio volume is not a percentage
William Reynish
noreply at git.blender.org
Wed Mar 6 23:19:52 CET 2019
Commit: bc8d1feb4d585ab617079c9b994a8cf8e0772e2b
Author: William Reynish
Date: Wed Mar 6 23:19:48 2019 +0100
Branches: master
https://developer.blender.org/rBbc8d1feb4d585ab617079c9b994a8cf8e0772e2b
Units: Fix unreported. Audio volume is not a percentage
===================================================================
M source/blender/makesrna/intern/rna_scene.c
===================================================================
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");
More information about the Bf-blender-cvs
mailing list