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:
authorAlan Odom <clockmender@icloud.com>2020-02-17 17:57:11 +0300
committerRune Morling <ermo.blender.org@spammesenseless.net>2020-03-28 20:55:55 +0300
commit4f3a6cafc07f0f29cb17949ddf037db24c81d148 (patch)
tree8c083433163070e10408bdb397f520b2afa39d15 /precision_drawing_tools/pdt_menus.py
parentf58fe4df0da454bc69b70589d1111aefaa36a182 (diff)
PDT: Revise Tangent Functions
This commit is still WIP. Added Enumerator for Tangent Types, refactored code, revised DocStrings. This section of PDT still requires extensive testing, currently underway, but not complete.
Diffstat (limited to 'precision_drawing_tools/pdt_menus.py')
-rw-r--r--precision_drawing_tools/pdt_menus.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/precision_drawing_tools/pdt_menus.py b/precision_drawing_tools/pdt_menus.py
index 649b2b96..c42d18c9 100644
--- a/precision_drawing_tools/pdt_menus.py
+++ b/precision_drawing_tools/pdt_menus.py
@@ -435,6 +435,9 @@ class PDT_PT_PanelTangent(Panel):
row.label(text=f"Working {PDT_LAB_PLANE}:")
row.prop(pdt_pg, "plane", text="")
row = layout.row()
+ row.label(text="Tan Mode")
+ row.prop(pdt_pg, "tangent_mode", text="")
+ row = layout.row()
row.operator("pdt.tangentoperatesel", text="Tangents from Selection", icon="NONE")
row = layout.row()
row.label(text="Or Use Tangents From Inputs")
@@ -442,8 +445,6 @@ class PDT_PT_PanelTangent(Panel):
box = layout.box()
row = box.row()
- row.prop(pdt_pg, "tangent_from_point", text="From Point")
- row = box.row()
split = row.split(factor=0.35, align=True)
split.label(text="Tan Point")
split.prop(pdt_pg, "tangent_point2", text="")