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-01-07 10:57:32 +0300
committerRune Morling <ermo.blender.org@spammesenseless.net>2020-01-15 00:26:56 +0300
commit20598a3ac66c9fe76e418d86bf4047c79f2c9818 (patch)
treec863e153c3466eb5b55b763d429e4b2c8c797e93 /precision_drawing_tools/pdt_view.py
parent2af992e5181d1a739d433b1255e2e1547a6b420b (diff)
PDT: Re-Arrange Menus to UI Panel Width
The menus now are re-arranged according to the width of the UI. A cut-off value is set in the Add-on Preferences. Remove vestiges of automatic UI highlighting experiment.
Diffstat (limited to 'precision_drawing_tools/pdt_view.py')
-rw-r--r--precision_drawing_tools/pdt_view.py24
1 files changed, 8 insertions, 16 deletions
diff --git a/precision_drawing_tools/pdt_view.py b/precision_drawing_tools/pdt_view.py
index 5257515f..85de8959 100644
--- a/precision_drawing_tools/pdt_view.py
+++ b/precision_drawing_tools/pdt_view.py
@@ -32,11 +32,10 @@ from .pdt_functions import debug, euler_to_quaternion
class PDT_OT_ViewRot(Operator):
- """Rotate View using X Y Z Absolute Rotations."""
-
bl_idname = "pdt.viewrot"
bl_label = "Rotate View"
bl_options = {"REGISTER", "UNDO"}
+ bl_description = "View Rotation by Absolute Values"
def execute(self, context):
"""View Rotation by Absolute Values.
@@ -68,11 +67,10 @@ class PDT_OT_ViewRot(Operator):
class PDT_OT_vRotL(Operator):
- """Orbit View to Left by Angle."""
-
bl_idname = "pdt.viewleft"
bl_label = "Rotate Left"
bl_options = {"REGISTER", "UNDO"}
+ bl_description = "View Orbit Left by Delta Value"
def execute(self, context):
"""View Orbit Left by Delta Value.
@@ -97,11 +95,10 @@ class PDT_OT_vRotL(Operator):
class PDT_OT_vRotR(Operator):
- """Orbit View to Right by Angle."""
-
bl_idname = "pdt.viewright"
bl_label = "Rotate Right"
bl_options = {"REGISTER", "UNDO"}
+ bl_description = "View Orbit Right by Delta Value"
def execute(self, context):
"""View Orbit Right by Delta Value.
@@ -127,11 +124,10 @@ class PDT_OT_vRotR(Operator):
class PDT_OT_vRotU(Operator):
- """Orbit View to Up by Angle."""
-
bl_idname = "pdt.viewup"
bl_label = "Rotate Up"
bl_options = {"REGISTER", "UNDO"}
+ bl_description = "View Orbit Up by Delta Value"
def execute(self, context):
"""View Orbit Up by Delta Value.
@@ -157,11 +153,10 @@ class PDT_OT_vRotU(Operator):
class PDT_OT_vRotD(Operator):
- """Orbit View to Down by Angle."""
-
bl_idname = "pdt.viewdown"
bl_label = "Rotate Down"
bl_options = {"REGISTER", "UNDO"}
+ bl_description = "View Orbit Down by Delta Value"
def execute(self, context):
"""View Orbit Down by Delta Value.
@@ -187,11 +182,10 @@ class PDT_OT_vRotD(Operator):
class PDT_OT_vRoll(Operator):
- """Roll View by Angle."""
-
bl_idname = "pdt.viewroll"
bl_label = "Roll View"
bl_options = {"REGISTER", "UNDO"}
+ bl_description = "View Roll by Delta Value"
def execute(self, context):
"""View Roll by Delta Value.
@@ -217,11 +211,10 @@ class PDT_OT_vRoll(Operator):
class PDT_OT_viso(Operator):
- """Isometric View."""
-
bl_idname = "pdt.viewiso"
bl_label = "Isometric View"
bl_options = {"REGISTER", "UNDO"}
+ bl_description = "Isometric View."
def execute(self, context):
"""Set Isometric View.
@@ -245,11 +238,10 @@ class PDT_OT_viso(Operator):
class PDT_OT_Reset3DView(Operator):
- """Reset 3D View to Blender Defaults."""
-
bl_idname = "pdt.reset_3d_view"
bl_label = "Reset 3D View"
bl_options = {'REGISTER', 'UNDO'}
+ bl_description = "Reset 3D View to Blender Defaults."
def execute(self, context):
"""Reset 3D View to Blender Defaults.