diff options
Diffstat (limited to 'io_mesh_pdb/import_pdb.py')
-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) |