Revision: 23283
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23283
Author:   dingto
Date:     2009-09-16 20:32:03 +0200 (Wed, 16 Sep 2009)

Log Message:
-----------
Fixed Resolution and Aspect Ratio Notifier for camera mode in 3D View.
NC_OBJECT, won't do it alone, added ND_DRAW. 

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_scene.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_scene.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_scene.c    2009-09-16 
18:22:53 UTC (rev 23282)
+++ trunk/blender/source/blender/makesrna/intern/rna_scene.c    2009-09-16 
18:32:03 UTC (rev 23283)
@@ -1308,13 +1308,13 @@
        RNA_def_property_int_sdna(prop, NULL, "xsch");
        RNA_def_property_range(prop, 4, 10000);
        RNA_def_property_ui_text(prop, "Resolution X", "Number of horizontal 
pixels in the rendered image.");
-       RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS|NC_OBJECT, 
NULL);
+       RNA_def_property_update(prop, 
NC_SCENE|ND_RENDER_OPTIONS|NC_OBJECT|ND_DRAW, NULL);
        
        prop= RNA_def_property(srna, "resolution_y", PROP_INT, PROP_NONE);
        RNA_def_property_int_sdna(prop, NULL, "ysch");
        RNA_def_property_range(prop, 4, 10000);
        RNA_def_property_ui_text(prop, "Resolution Y", "Number of vertical 
pixels in the rendered image.");
-       RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS|NC_OBJECT, 
NULL);
+       RNA_def_property_update(prop, 
NC_SCENE|ND_RENDER_OPTIONS|NC_OBJECT|ND_DRAW, NULL);
        
        prop= RNA_def_property(srna, "resolution_percentage", PROP_INT, 
PROP_PERCENTAGE);
        RNA_def_property_int_sdna(prop, NULL, "size");
@@ -1338,13 +1338,13 @@
        RNA_def_property_float_sdna(prop, NULL, "xasp");
        RNA_def_property_range(prop, 1.0f, 200.0f);
        RNA_def_property_ui_text(prop, "Pixel Aspect X", "Horizontal aspect 
ratio - for anamorphic or non-square pixel output");
-       RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS|NC_OBJECT, 
NULL);
+       RNA_def_property_update(prop, 
NC_SCENE|ND_RENDER_OPTIONS|NC_OBJECT|ND_DRAW, NULL);
        
        prop= RNA_def_property(srna, "pixel_aspect_y", PROP_FLOAT, PROP_NONE);
        RNA_def_property_float_sdna(prop, NULL, "yasp");
        RNA_def_property_range(prop, 1.0f, 200.0f);
        RNA_def_property_ui_text(prop, "Pixel Aspect Y", "Vertical aspect ratio 
- for anamorphic or non-square pixel output");
-       RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS|NC_OBJECT, 
NULL);
+       RNA_def_property_update(prop, 
NC_SCENE|ND_RENDER_OPTIONS|NC_OBJECT|ND_DRAW, NULL);
        
        /* JPEG and AVI JPEG */
        


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to