PROP_ENUM_NO_CONTEXT flag for rna properties, forcing enum item functions to be passe...
[blender.git] / source / blender / makesrna / RNA_types.h
index 5480ebcf84479f5035698f8bd4f578dcf0dad2b9..960060691f097a268264e7018b972717aca3a511 100644 (file)
@@ -187,7 +187,8 @@ typedef enum PropertyFlag {
        PROP_RAW_ACCESS = 1<<13,
        PROP_RAW_ARRAY = 1<<14,
        PROP_FREE_POINTERS = 1<<15,
-       PROP_DYNAMIC = 1<<17 /* for dynamic arrays, and retvals of type string */
+       PROP_DYNAMIC = 1<<17, /* for dynamic arrays, and retvals of type string */
+       PROP_ENUM_NO_CONTEXT = 1<<18 /* for enum that shouldn't be contextual */
 } PropertyFlag;
 
 typedef struct CollectionPropertyIterator {