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 /io_mesh_pdb | |
parent | fef2540b25775c3e1e4012bec35ddb8695daa209 (diff) |
Use collection and instance terminology in Python API
This follows naming convention agreed on in T56648.
Diffstat (limited to 'io_mesh_pdb')
-rw-r--r-- | io_mesh_pdb/import_pdb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_mesh_pdb/import_pdb.py b/io_mesh_pdb/import_pdb.py index 8256d108..bf243899 100644 --- a/io_mesh_pdb/import_pdb.py +++ b/io_mesh_pdb/import_pdb.py @@ -685,7 +685,7 @@ def draw_atoms_one_type(draw_all_atoms_type, ball.name = "Ball_"+atom[0] ball.active_material = atom[1] ball.parent = new_atom_mesh - new_atom_mesh.dupli_type = 'VERTS' + new_atom_mesh.instance_type = 'VERTS' # The object is back translated to 'object_center_vec'. new_atom_mesh.location = object_center_vec @@ -858,7 +858,7 @@ def draw_sticks_dupliverts(all_atoms, # Parenting the mesh to the cylinder. stick_cylinder.parent = new_mesh stick_cups.parent = new_mesh - new_mesh.dupli_type = 'FACES' + new_mesh.instance_type = 'FACES' new_mesh.location = center atom_object_list.append(new_mesh) |