diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-28 19:51:13 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-28 20:23:31 +0300 |
commit | 1860441ee7cd4ec75c99cc372fccec839c525f46 (patch) | |
tree | fe8ef38166fce2ff001b2b92dcc77458526e4ebc /object_scatter | |
parent | fef2540b25775c3e1e4012bec35ddb8695daa209 (diff) |
Use collection and instance terminology in Python API
This follows naming convention agreed on in T56648.
Diffstat (limited to 'object_scatter')
-rw-r--r-- | object_scatter/operator.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/object_scatter/operator.py b/object_scatter/operator.py index 69c2d6e4..1c0c133a 100644 --- a/object_scatter/operator.py +++ b/object_scatter/operator.py @@ -204,11 +204,11 @@ def make_duplicator(target_collection, source_object, matrices): triangle_scale = 0.1 duplicator = triangle_object_from_matrices(source_object.name + " Duplicator", matrices, triangle_scale) - duplicator.dupli_type = 'FACES' - duplicator.use_dupli_faces_scale = True - duplicator.show_duplicator_for_viewport = True - duplicator.show_duplicator_for_render = False - duplicator.dupli_faces_scale = 1 / triangle_scale + duplicator.instance_type = 'FACES' + duplicator.use_instance_faces_scale = True + duplicator.show_instancer_for_viewport = True + duplicator.show_instancer_for_render = False + duplicator.instance_faces_scale = 1 / triangle_scale copy_obj = source_object.copy() copy_obj.name = source_object.name + " - copy" |