[Bf-blender-cvs] [d12eba6] master: Sequencer: allow scene volume above 1

Campbell Barton noreply at git.blender.org
Fri Feb 20 14:09:22 CET 2015


Commit: d12eba61a590d8885633d8e6ed4ace5fafb01276
Author: Campbell Barton
Date:   Sat Feb 21 00:08:27 2015 +1100
Branches: master
https://developer.blender.org/rBd12eba61a590d8885633d8e6ed4ace5fafb01276

Sequencer: allow scene volume above 1

===================================================================

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 600fa75..52b798a 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -5917,7 +5917,7 @@ void RNA_def_scene(BlenderRNA *brna)
 
 	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, 1.0f);
+	RNA_def_property_range(prop, 0.0f, 100.0f);
 	RNA_def_property_ui_text(prop, "Volume", "Audio volume");
 	RNA_def_property_translation_context(prop, BLF_I18NCONTEXT_ID_SOUND);
 	RNA_def_property_update(prop, NC_SCENE, NULL);




More information about the Bf-blender-cvs mailing list