Bugfix [#31723] Renderer (internal) ignores keyframes on 'Compositing' checkbox
authorJoshua Leung <aligorith@gmail.com>
Thu, 7 Jun 2012 10:55:53 +0000 (10:55 +0000)
committerJoshua Leung <aligorith@gmail.com>
Thu, 7 Jun 2012 10:55:53 +0000 (10:55 +0000)
for animations

Pipeline options such as Use Compositing and Use Sequencer cannot be animated
due to the way that they are implemented now, so adding these to the list of
render properties that we cannot animate.

source/blender/makesrna/intern/rna_scene.c

index 9eb313204f7c782dce317ac8a850daf3d4f97b8c..85c7b5679c1c520b0d50bf460719cbb4ba5067c1 100644 (file)
@@ -3660,6 +3660,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
        
        prop = RNA_def_property(srna, "use_compositing", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "scemode", R_DOCOMP);
+       RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
        RNA_def_property_ui_text(prop, "Compositing",
                                 "Process the render result through the compositing pipeline, "
                                 "if compositing nodes are enabled");
@@ -3667,6 +3668,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
        
        prop = RNA_def_property(srna, "use_sequencer", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "scemode", R_DOSEQ);
+       RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
        RNA_def_property_ui_text(prop, "Sequencer",
                                 "Process the render (and composited) result through the video sequence "
                                 "editor pipeline, if sequencer strips exist");