diff options
author | Clemens Barth <barth@root-1.de> | 2019-05-17 22:09:07 +0300 |
---|---|---|
committer | Clemens Barth <barth@root-1.de> | 2019-05-17 22:09:07 +0300 |
commit | ed3545322bb94004cca9f56b8f8a6e1ab8ce54d6 (patch) | |
tree | 6ce458933aafe5d5ed9847c506792b58cef246ee /io_mesh_atomic | |
parent | d3882e8a34e8a2d6cc26cfe59fd4461ef6d8a824 (diff) |
The following warnings appeared in the terminal when starting blender:
make annotation: AddonPreferences.bool_pdb
make annotation: AddonPreferences.bool_xyz
make annotation: AddonPreferences.bool_utility
This was fixed by using 'bool_name : BoolProperty(...' instead of 'bool_name = BoolProperty(...'
Diffstat (limited to 'io_mesh_atomic')
-rw-r--r-- | io_mesh_atomic/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io_mesh_atomic/__init__.py b/io_mesh_atomic/__init__.py index 2b2d89d7..0c801d6a 100644 --- a/io_mesh_atomic/__init__.py +++ b/io_mesh_atomic/__init__.py @@ -22,7 +22,7 @@ # Start of project : 2011-08-31 by CB # First publication in Blender : 2011-11-11 by CB # Fusion of the PDB, XYZ and Panel : 2019-03-22 by CB -# Last modified : 2019-03-28 +# Last modified : 2019-05-17 # # Contributing authors # ==================== @@ -93,19 +93,19 @@ class AddonPreferences(AddonPreferences): # when defining this in a submodule of a python package. bl_idname = __name__ - bool_pdb = BoolProperty( + bool_pdb : BoolProperty( name="PDB import/export", default=True, description="Import/export PDB", ) - bool_xyz = BoolProperty( + bool_xyz : BoolProperty( name="XYZ import/export", default=True, description="Import/export XYZ", ) # This boolean is checked in the poll function in PANEL_PT_prepare # (see utility.py). - bool_utility = BoolProperty( + bool_utility : BoolProperty( name="Utility panel", default=False, description=("Panel with functionalities for modifying " \ |