diff options
author | Rune Morling <ermo.blender.org@spammesenseless.net> | 2019-12-13 10:09:10 +0300 |
---|---|---|
committer | Rune Morling <ermo.blender.org@spammesenseless.net> | 2019-12-13 10:09:10 +0300 |
commit | 6551aa3ecb47a7f1a78a5f633c40cc13a000b0fa (patch) | |
tree | 3778457051b55e5c19274bca54abe3663f4bd815 /precision_drawing_tools | |
parent | 619f3b5b2d8c92bf47ebc2f37923d338644d4ff7 (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.py | 1 |
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) |