From a659ebbd5dbbc7bf7c3737275213a69b82968207 Mon Sep 17 00:00:00 2001
From: Clemens Barth <barth@root-1.de>
Date: Sat, 28 Dec 2019 11:34:30 +0100
Subject: [PATCH] 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.

---
 io_mesh_atomic/pdb_gui.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/io_mesh_atomic/pdb_gui.py b/io_mesh_atomic/pdb_gui.py
index 76736eaa1..00a4ca97e 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):
-- 
GitLab