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:
authorRune Morling <ermo.blender.org@spammesenseless.net>2019-12-13 10:09:10 +0300
committerRune Morling <ermo.blender.org@spammesenseless.net>2019-12-13 10:09:10 +0300
commit6551aa3ecb47a7f1a78a5f633c40cc13a000b0fa (patch)
tree3778457051b55e5c19274bca54abe3663f4bd815 /precision_drawing_tools
parent619f3b5b2d8c92bf47ebc2f37923d338644d4ff7 (diff)
PDT: Fix bug in pivot_point.py
PropertyGroup variable wasn't properly instantiated, resulting in an exception due to a missing PointerProperty.
Diffstat (limited to 'precision_drawing_tools')
-rw-r--r--precision_drawing_tools/pdt_pivot_point.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/precision_drawing_tools/pdt_pivot_point.py b/precision_drawing_tools/pdt_pivot_point.py
index f09ac1da..f3b2ef0d 100644
--- a/precision_drawing_tools/pdt_pivot_point.py
+++ b/precision_drawing_tools/pdt_pivot_point.py
@@ -296,6 +296,7 @@ class PDT_OT_PivotSelected(Operator):
"""
scene = context.scene
+ pg = scene.pdt_pg
obj = bpy.context.view_layer.objects.active
if obj is None:
self.report({"ERROR"}, PDT_ERR_NO_ACT_OBJ)