*Missing notifier for Render Border.
authorThomas Dinges <blender@dingto.org>
Fri, 11 Dec 2009 19:23:11 +0000 (19:23 +0000)
committerThomas Dinges <blender@dingto.org>
Fri, 11 Dec 2009 19:23:11 +0000 (19:23 +0000)
source/blender/editors/space_view3d/view3d_edit.c
source/blender/makesrna/intern/rna_scene.c

index 6a58e3c2e8dd621b5bc9af173968436c21398c07..7714f117e9c2405b25ba14270a9cc95ab2f43122 100644 (file)
@@ -1380,6 +1380,8 @@ static int render_border_exec(bContext *C, wmOperator *op)
        } else {
                scene->r.mode |= R_BORDER;
        }
+       
+       WM_event_add_notifier(C, NC_SCENE|ND_RENDER_OPTIONS, NULL);
 
        return OPERATOR_FINISHED;
 
index 100df4645c755ac0ea1bba3772a9135ed133624b..83a945f2bea77a4f1fcb1edf90522f6fc7945119 100644 (file)
@@ -1992,7 +1992,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna)
        prop= RNA_def_property(srna, "use_border", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "mode", R_BORDER);
        RNA_def_property_ui_text(prop, "Border", "Render a user-defined border region, within the frame size.");
-       RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);
+       RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS|NC_OBJECT|ND_DRAW, NULL);
 
        prop= RNA_def_property(srna, "border_min_x", PROP_FLOAT, PROP_NONE);
        RNA_def_property_float_sdna(prop, NULL, "border.xmin");