Commit: 37ae32870e48479abd730f0706f7e69f07b4a6cc
Author: Bastien Montagne
Date:   Wed Feb 4 21:20:35 2015 +0100
Branches: master
https://developer.blender.org/rB37ae32870e48479abd730f0706f7e69f07b4a6cc

Fix T43567: Freestyle On/Off keyframe is being ignored.

That kind of stuff shall not be animated! :)

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

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 931c772..1c133db 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -4682,6 +4682,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
        RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, 
"rna_Scene_glsl_update");
        
        prop = RNA_def_property(srna, "use_freestyle", PROP_BOOLEAN, PROP_NONE);
+       RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
        RNA_def_property_boolean_sdna(prop, NULL, "mode", R_EDGE_FRS);
        RNA_def_property_ui_text(prop, "Edge", "Draw stylized strokes using 
Freestyle");
        RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, 
"rna_Scene_freestyle_update");

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to