Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mesh_extra_tools/mesh_pen_tool.py')
-rw-r--r--mesh_extra_tools/mesh_pen_tool.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/mesh_extra_tools/mesh_pen_tool.py b/mesh_extra_tools/mesh_pen_tool.py
index cd11f582..13e57081 100644
--- a/mesh_extra_tools/mesh_pen_tool.py
+++ b/mesh_extra_tools/mesh_pen_tool.py
@@ -258,7 +258,7 @@ def draw_callback_px(self, context):
class pen_tool_properties(PropertyGroup):
- a = FloatProperty(
+ a: FloatProperty(
name="Alpha",
description="Set Font Alpha",
default=1.0,
@@ -266,29 +266,29 @@ class pen_tool_properties(PropertyGroup):
step=10,
precision=1
)
- fs = IntProperty(
+ fs: IntProperty(
name="Size",
description="Set Font Size",
default=14,
min=12, max=40,
step=1
)
- b0 = BoolProperty(
+ b0: BoolProperty(
name="Angles",
description="Display All Angles on Drawn Edges",
default=False
)
- b1 = BoolProperty(
+ b1: BoolProperty(
name="Edge Length",
description="Display All Lengths of Drawn Edges",
default=False
)
- b2 = BoolProperty(
+ b2: BoolProperty(
name="Mouse Location 3D",
description="Display the location coordinates of the mouse cursor",
default=False
)
- restore_view = BoolProperty(
+ restore_view: BoolProperty(
name="Restore View",
description="After the tool has finished, is the Viewport restored\n"
"to it's previous state",
@@ -351,7 +351,7 @@ class pen_tool_operator(Operator):
bl_label = "Pen Tool"
bl_options = {"REGISTER", "UNDO", "INTERNAL"}
- text_location = IntProperty(
+ text_location: IntProperty(
name="",
default=0,
options={'HIDDEN'}