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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-11-28 19:49:52 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-28 20:22:51 +0300
commit7c7f3776dd0e2f0125a4065e4b4d070a8666ef7c (patch)
treec7be442387f617b6066a22cb1056d3b84f9566bc /release/scripts/modules/bpy_types.py
parent98ecab1af07a6f8f31b7889d1da92593deb87ae2 (diff)
Use collection and instance terminology in Python API
This follows naming convention agreed on in T56648.
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r--release/scripts/modules/bpy_types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py
index dda1ab7b4ed..7779e1ba38a 100644
--- a/release/scripts/modules/bpy_types.py
+++ b/release/scripts/modules/bpy_types.py
@@ -104,7 +104,7 @@ class Collection(bpy_types.ID):
"""The collection instance objects this collection is used in"""
import bpy
return tuple(obj for obj in bpy.data.objects
- if self == obj.dupli_group)
+ if self == obj.instance_collection)
class Object(bpy_types.ID):