Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClemens Barth <barth@root-1.de>2012-02-29 03:31:19 +0400
committerClemens Barth <barth@root-1.de>2012-02-29 03:31:19 +0400
commitbcb9be4475e42f850e0971c4b916f0d1046b8df3 (patch)
treef7223def09d23072e52245a09205a993aad41f20 /io_mesh_pdb/import_pdb.py
parent7708b9f7e0c6adfc8c2184dc9ae8bab0ef93784b (diff)
Exporter
- Either active objects with a proper element name or all active objects are exported depending on EnumProperty in File dialog: all <-> element - Removed a bug in the exporter: 'import_pdb.ATOM_PDB_ELEMENTS_DEFAULT' is used instead of 'import_pdb.ATOM_PDB_ELEMENTS' <= is sometimes empty list Importer - The name of the representive ball of a dupliverts technique is now shorter: from 'Ball (NURBS)_<element>' to 'Ball_<element>'; The name of the element is not cut in the outliner. Blendphys
Diffstat (limited to 'io_mesh_pdb/import_pdb.py')
-rw-r--r--io_mesh_pdb/import_pdb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_mesh_pdb/import_pdb.py b/io_mesh_pdb/import_pdb.py
index 2491d4fc..1c2abe05 100644
--- a/io_mesh_pdb/import_pdb.py
+++ b/io_mesh_pdb/import_pdb.py
@@ -25,7 +25,7 @@
#
# Start of project : 2011-08-31 by Clemens Barth
# First publication in Blender : 2011-11-11
-# Last modified : 2012-02-27
+# Last modified : 2012-02-29
#
# Acknowledgements: Thanks to ideasman, meta_androcto, truman, kilon,
# dairin0d, PKHG, Valter, etc
@@ -1170,7 +1170,7 @@ def DEF_atom_pdb_main(use_mesh,Ball_azimuth,Ball_zenith,
if atom[0] == "Vacancy":
ball.name = "Cube_"+atom[0]
else:
- ball.name = "Ball (NURBS)_"+atom[0]
+ ball.name = "Ball_"+atom[0]
ball.active_material = atom[1]
ball.parent = new_atom_mesh
new_atom_mesh.dupli_type = 'VERTS'