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 'precision_drawing_tools/pdt_view.py')
-rw-r--r--precision_drawing_tools/pdt_view.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/precision_drawing_tools/pdt_view.py b/precision_drawing_tools/pdt_view.py
index 087ce2f5..e7fb87cc 100644
--- a/precision_drawing_tools/pdt_view.py
+++ b/precision_drawing_tools/pdt_view.py
@@ -85,7 +85,8 @@ class PDT_OT_ViewRotL(Operator):
Notes:
Uses pg.vrotangle scene variable
- Returns: Status Set.
+ Returns:
+ Status Set.
"""
scene = context.scene
@@ -229,7 +230,8 @@ class PDT_OT_ViewIso(Operator):
Returns:
Status Set.
"""
- # Try working this out in your head!
+
+ # Rotate view 45 degrees about Z then 32.2644 about X
context.region_data.view_rotation = Quaternion((0.8205, 0.4247, -0.1759, -0.3399))
context.region_data.view_perspective = "ORTHO"
return {"FINISHED"}