[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4169] contrib/py/scripts/addons/ io_atomblend_utilities/__init__.py: For ionic radii: new charge state zero means that nothing is done.
Clemens Barth
barth at root-1.de
Wed Jan 16 13:30:18 CET 2013
Revision: 4169
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4169
Author: blendphys
Date: 2013-01-16 12:30:18 +0000 (Wed, 16 Jan 2013)
Log Message:
-----------
For ionic radii: new charge state zero means that nothing is done. So, when
importing a molecule and choosing 'ionic radii', the charge state is on zero
and nothing happens. Only when a charge state other than 0 is chosen by the
user, the radii are changed (if the charge state exists for the selected
element(s)).
Blendphys.
Modified Paths:
--------------
contrib/py/scripts/addons/io_atomblend_utilities/__init__.py
Modified: contrib/py/scripts/addons/io_atomblend_utilities/__init__.py
===================================================================
--- contrib/py/scripts/addons/io_atomblend_utilities/__init__.py 2013-01-16 02:45:59 UTC (rev 4168)
+++ contrib/py/scripts/addons/io_atomblend_utilities/__init__.py 2013-01-16 12:30:18 UTC (rev 4169)
@@ -24,7 +24,7 @@
#
# Start of project : 2011-12-01 by Clemens Barth
# First publication in Blender : 2012-11-03
-# Last modified : 2013-01-13
+# Last modified : 2013-01-16
#
# Acknowledgements
# ================
@@ -170,6 +170,7 @@
('1',"-3", "Charge state -3"),
('2',"-2", "Charge state -2"),
('3',"-1", "Charge state -1"),
+ ('4'," 0", "Charge state 0: nothing is done"),
('5',"+1", "Charge state +1"),
('6',"+2", "Charge state +2"),
('7',"+3", "Charge state +3"),
@@ -177,7 +178,7 @@
('9',"+5", "Charge state +5"),
('10',"+6", "Charge state +6"),
('11',"+7", "Charge state +7")),
- default='3',update=Callback_radius_type)
+ default='4',update=Callback_radius_type)
radius_pm_name = StringProperty(
name="", default="Atom name",
description="Put in the name of the atom (e.g. Hydrogen)")
More information about the Bf-extensions-cvs
mailing list