[Bf-extensions-cvs] [a659ebbd] master: Change of concept - default options in PDB importer: when it is desired to show the sticks of atoms as cylinders then the cylinders should be individuel single objects. The user can still choose a fusion of the sticks to one object in the options.

Clemens Barth noreply at git.blender.org
Sat Dec 28 11:37:30 CET 2019


Commit: a659ebbd5dbbc7bf7c3737275213a69b82968207
Author: Clemens Barth
Date:   Sat Dec 28 11:34:30 2019 +0100
Branches: master
https://developer.blender.org/rBAa659ebbd5dbbc7bf7c3737275213a69b82968207

Change of concept - default options in PDB importer: when it is desired to show the sticks of atoms as cylinders then
the cylinders should be individuel single objects. The user can still choose a fusion of the sticks to one object
in the options.

===================================================================

M	io_mesh_atomic/pdb_gui.py

===================================================================

diff --git a/io_mesh_atomic/pdb_gui.py b/io_mesh_atomic/pdb_gui.py
index 76736eaa..00a4ca97 100644
--- a/io_mesh_atomic/pdb_gui.py
+++ b/io_mesh_atomic/pdb_gui.py
@@ -115,7 +115,7 @@ class IMPORT_OT_pdb(Operator, ImportHelper):
         name="", default = 1.1, min=1.0, max=3.0,
         description="Distance between sticks measured in stick diameter")
     use_sticks_one_object: BoolProperty(
-        name="One object", default=True,
+        name="One object", default=False,
         description="All sticks are one object")
     use_sticks_one_object_nr: IntProperty(
         name = "No.", default=200, min=10,
@@ -124,7 +124,7 @@ class IMPORT_OT_pdb(Operator, ImportHelper):
         name = "", description="Path to your custom data file",
         maxlen = 256, default = "", subtype='FILE_PATH')
 
-    # This thing here just guarantees that the menu entry is not active when the 
+    # This thing here just guarantees that the menu entry is not active when the
     # check box in the addon preferences is not activated! See __init__.py
     @classmethod
     def poll(cls, context):
@@ -251,7 +251,7 @@ class EXPORT_OT_pdb(Operator, ExportHelper):
                                  " a proper element name")),
                default='1',)
 
-    # This thing here just guarantees that the menu entry is not active when the 
+    # This thing here just guarantees that the menu entry is not active when the
     # check box in the addon preferences is not activated! See __init__.py
     @classmethod
     def poll(cls, context):



More information about the Bf-extensions-cvs mailing list