ID Mask node was limmited at 10000 while OB and Mat IDs reach 32767. Set this limit...
authorDaniel Salazar <zanqdo@gmail.com>
Sun, 16 Oct 2011 09:51:23 +0000 (09:51 +0000)
committerDaniel Salazar <zanqdo@gmail.com>
Sun, 16 Oct 2011 09:51:23 +0000 (09:51 +0000)
source/blender/makesrna/intern/rna_nodetree.c

index 813375a3549d4441d064d888a27a94a0665bf54a..061a21056d0899ed2a69f8677188ae2c008bd595 100644 (file)
@@ -1871,7 +1871,7 @@ static void def_cmp_id_mask(StructRNA *srna)
        
        prop = RNA_def_property(srna, "index", PROP_INT, PROP_NONE);
        RNA_def_property_int_sdna(prop, NULL, "custom1");
-       RNA_def_property_range(prop, 0, 10000);
+       RNA_def_property_range(prop, 0, 32767);
        RNA_def_property_ui_text(prop, "Index", "Pass index number to convert to alpha");
        RNA_def_property_update(prop, NC_NODE|NA_EDITED, "rna_Node_update");