From ed3545322bb94004cca9f56b8f8a6e1ab8ce54d6 Mon Sep 17 00:00:00 2001 From: Clemens Barth Date: Fri, 17 May 2019 21:09:07 +0200 Subject: 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(...' --- io_mesh_atomic/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'io_mesh_atomic') 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 " \ -- cgit v1.2.3