[Bf-extensions-cvs] [ed354532] master: The following warnings appeared in the terminal when starting blender:
Clemens Barth
noreply at git.blender.org
Fri May 17 21:11:43 CEST 2019
Commit: ed3545322bb94004cca9f56b8f8a6e1ab8ce54d6
Author: Clemens Barth
Date: Fri May 17 21:09:07 2019 +0200
Branches: master
https://developer.blender.org/rBAed3545322bb94004cca9f56b8f8a6e1ab8ce54d6
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(...'
===================================================================
M io_mesh_atomic/__init__.py
===================================================================
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 " \
More information about the Bf-extensions-cvs
mailing list