[Bf-blender-cvs] [347339d] multiview: From review: redraw window when scene.use_multiview changes

Dalai Felinto noreply at git.blender.org
Fri Mar 20 12:06:37 CET 2015


Commit: 347339d653b81339a075bdfa18375bfc8395acb5
Author: Dalai Felinto
Date:   Fri Mar 20 12:04:47 2015 +0100
Branches: multiview
https://developer.blender.org/rB347339d653b81339a075bdfa18375bfc8395acb5

>From review: redraw window when scene.use_multiview changes

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

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 4ed8e49..c47c02d 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -5672,7 +5672,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
 	prop = RNA_def_property(srna, "use_multiview", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "scemode", R_MULTIVIEW);
 	RNA_def_property_ui_text(prop, "Multiple Views", "Use multiple views in the scene");
-	RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS | ND_SEQUENCER, NULL);
+	RNA_def_property_update(prop, NC_WINDOW, NULL);
 
 	prop = RNA_def_property(srna, "views_format", PROP_ENUM, PROP_NONE);
 	RNA_def_property_enum_items(prop, views_format_items);




More information about the Bf-blender-cvs mailing list