[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43827] trunk/blender/source/blender/ makesrna/intern/rna_scene.c: Fix #29104: keyframing motion blur samples did not work, made these non-animateable

Brecht Van Lommel brechtvanlommel at pandora.be
Wed Feb 1 19:25:06 CET 2012


Revision: 43827
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43827
Author:   blendix
Date:     2012-02-01 18:25:01 +0000 (Wed, 01 Feb 2012)
Log Message:
-----------
Fix #29104: keyframing motion blur samples did not work, made these non-animateable
now like some other render settings.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_scene.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_scene.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_scene.c	2012-02-01 18:10:34 UTC (rev 43826)
+++ trunk/blender/source/blender/makesrna/intern/rna_scene.c	2012-02-01 18:25:01 UTC (rev 43827)
@@ -3391,12 +3391,14 @@
 	prop= RNA_def_property(srna, "use_motion_blur", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "mode", R_MBLUR);
 	RNA_def_property_ui_text(prop, "Motion Blur", "Use multi-sampled 3D scene motion blur");
+	RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
 	RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);
 	
 	prop= RNA_def_property(srna, "motion_blur_samples", PROP_INT, PROP_NONE);
 	RNA_def_property_int_sdna(prop, NULL, "mblur_samples");
 	RNA_def_property_range(prop, 1, 32);
 	RNA_def_property_ui_text(prop, "Motion Samples", "Number of scene samples to take with motion blur");
+	RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
 	RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);
 	
 	prop= RNA_def_property(srna, "motion_blur_shutter", PROP_FLOAT, PROP_NONE);




More information about the Bf-blender-cvs mailing list