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-03-09 21:39:49 +0400
committerClemens Barth <barth@root-1.de>2012-03-09 21:39:49 +0400
commitfadd3b04fb7e0a702debf822c979f2e2bbd19a39 (patch)
treeaed1873eb4cdef688f6bb2577f35d401b16d7331 /io_mesh_pdb
parent393fe8dcbef50becd59e5102591fed1d76eb3700 (diff)
Importer
======== I forgot a '-' in the vector ... Blendphys
Diffstat (limited to 'io_mesh_pdb')
-rw-r--r--io_mesh_pdb/import_pdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_pdb/import_pdb.py b/io_mesh_pdb/import_pdb.py
index 420b5161..2a3efefc 100644
--- a/io_mesh_pdb/import_pdb.py
+++ b/io_mesh_pdb/import_pdb.py
@@ -878,7 +878,7 @@ def DEF_atom_pdb_main(use_mesh,Ball_azimuth,Ball_zenith,
else:
dist_n = (all_atoms[atom1-1].location
- all_atoms[atom2-1].location)
- dist_n = Vector((dist_n[1],dist_n[0],0))
+ dist_n = Vector((dist_n[1],-dist_n[0],0))
elif number > 3:
number = 1
dist_n = None