Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-11-03 19:07:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-03 19:07:29 +0300
commitb8b89d5ae4a1c94630847d12112597f4b8256986 (patch)
tree222d63d48a131c05b98a3160ac0fadf74e8eebe9 /source/blender/makesrna/intern/rna_internal_types.h
parentb3c8935b066cd1a9f17cb7199d87ede3f644a35c (diff)
active property for collections for things like scene.objects.active
will add more properties later
Diffstat (limited to 'source/blender/makesrna/intern/rna_internal_types.h')
-rw-r--r--source/blender/makesrna/intern/rna_internal_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_internal_types.h b/source/blender/makesrna/intern/rna_internal_types.h
index 645bc50ed89..434e4ee6fe9 100644
--- a/source/blender/makesrna/intern/rna_internal_types.h
+++ b/source/blender/makesrna/intern/rna_internal_types.h
@@ -257,6 +257,8 @@ typedef struct CollectionPropertyRNA {
PropCollectionLookupStringFunc lookupstring; /* optional */
FunctionRNA *add, *remove;
+ PropertyRNA *active;
+
struct StructRNA *type;
} CollectionPropertyRNA;