Revision: 36976
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36976
Author:   campbellbarton
Date:     2011-05-28 12:04:56 +0000 (Sat, 28 May 2011)
Log Message:
-----------
wrong rna access function used in node UI

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_node/drawnode.c

Modified: trunk/blender/source/blender/editors/space_node/drawnode.c
===================================================================
--- trunk/blender/source/blender/editors/space_node/drawnode.c  2011-05-28 
11:30:21 UTC (rev 36975)
+++ trunk/blender/source/blender/editors/space_node/drawnode.c  2011-05-28 
12:04:56 UTC (rev 36976)
@@ -862,7 +862,7 @@
 
        uiItemR(col, ptr, "ratio", UI_ITEM_R_SLIDER, NULL, ICON_NONE);
        uiItemR(col, ptr, "use_unspill", 0, NULL, ICON_NONE);
-       if (RNA_enum_get(ptr, "use_unspill")== 1) {
+       if (RNA_boolean_get(ptr, "use_unspill")== 1) {
                uiItemR(col, ptr, "unspill_red", UI_ITEM_R_SLIDER, NULL, 
ICON_NONE);
                uiItemR(col, ptr, "unspill_green", UI_ITEM_R_SLIDER, NULL, 
ICON_NONE);
                uiItemR(col, ptr, "unspill_blue", UI_ITEM_R_SLIDER, NULL, 
ICON_NONE);

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

Reply via email to