active property for collections for things like scene.objects.active
[blender.git] / source / blender / makesrna / intern / rna_internal_types.h
index 645bc50ed897c51fa4411db8f92df406eac1ad6c..434e4ee6fe9c76a65e4b63eafb44ebec48ba7122 100644 (file)
@@ -257,6 +257,8 @@ typedef struct CollectionPropertyRNA {
        PropCollectionLookupStringFunc lookupstring;    /* optional */
        FunctionRNA *add, *remove;
 
+       PropertyRNA *active;
+
        struct StructRNA *type;
 } CollectionPropertyRNA;