Fix #29104: keyframing motion blur samples did not work, made these non-animateable
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 1 Feb 2012 18:25:01 +0000 (18:25 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 1 Feb 2012 18:25:01 +0000 (18:25 +0000)
now like some other render settings.

source/blender/makesrna/intern/rna_scene.c

index 68b9ce4e9569f4f36256ce3ab4ba59e76a2da290..290552d394f9a08d97a704874904ee0f01e892fa 100644 (file)
@@ -3391,12 +3391,14 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
        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);