hard limit in for bpy material was wrong
authorCampbell Barton <ideasman42@gmail.com>
Sun, 12 Oct 2008 15:35:17 +0000 (15:35 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 12 Oct 2008 15:35:17 +0000 (15:35 +0000)
source/blender/python/api2_2x/Material.c

index ef19fab462a67f1b5eac96a096c7c2a2a5415937..2e6bd326fb6c9c9d7a363e3f482d7276ba2060e5 100644 (file)
 #define EXPP_MAT_SUBSIZE_MAX                   25.0
 
 #define EXPP_MAT_HARD_MIN                               1
-#define EXPP_MAT_HARD_MAX               255    /* 127 with MODE HALO ON */
+#define EXPP_MAT_HARD_MAX               511    /* 127 with MODE HALO ON */
 #define EXPP_MAT_HALOSEED_MIN           0
 #define EXPP_MAT_HALOSEED_MAX    255
 #define EXPP_MAT_NFLARES_MIN            1