Added object.dupliGroup so objects can access the groups they instance.

This is very confusing.
Since in object has
ob.setDupliGroup() # Enable/Disable Dupligroup
ob.getDupliGroup() # see if its enabled.
ob.dupliGroup # the group data this object is instancing.

Not yet added
ob.groups # Groups that use this object.
This commit is contained in:
2006-03-18 17:24:59 +00:00
parent dc90a417cb
commit abab9fc3de
2 changed files with 26 additions and 2 deletions

View File

@@ -261,6 +261,11 @@ class Object:
- bit 7: Y size
- bit 8: Z size
@type protectFlags: int
@ivar dupliGroup: The dupli group that this object is an instance of.
This does not enable or disable the dupligroup option, for that use
getDupliGroup and setDupliGroup.
The dupliGroup is None when this object does not have a dupliGroup.
@type dupliGroup: list of integers
"""
def buildParts():