diff options
author | Stephen Leger <stephen@3dservices.ch> | 2018-11-18 16:06:37 +0300 |
---|---|---|
committer | Stephen Leger <stephen@3dservices.ch> | 2018-11-18 16:06:37 +0300 |
commit | 489e566047d8dab906ceceec4e73ab3d59f9830c (patch) | |
tree | bbee89de8ab2fcfa7342259692f8617af18c979c /archipack/archipack_manipulator.py | |
parent | 1977c9c0aa5ea196eaa612b266afda75726481ae (diff) |
archipack 2.8 compatibility (step2)
Diffstat (limited to 'archipack/archipack_manipulator.py')
-rw-r--r-- | archipack/archipack_manipulator.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/archipack/archipack_manipulator.py b/archipack/archipack_manipulator.py index 976ae632..be6c2ef2 100644 --- a/archipack/archipack_manipulator.py +++ b/archipack/archipack_manipulator.py @@ -690,7 +690,7 @@ class WallSnapManipulator(Manipulator): # update properties from generator idx = 0 - + d.auto_update = False for p0, p1, selected in gl_pts3d: if selected: @@ -738,7 +738,9 @@ class WallSnapManipulator(Manipulator): idx += 1 self.mouse_release(context, event) - d.relocate_childs(context, o, g) + if hasattr(d, "relocate_childs"): + d.relocate_childs(context, o, g) + d.auto_update = True d.update(context) if state == 'CANCEL': @@ -2124,7 +2126,6 @@ class Manipulable(): self.manipulable_end_point = Vector((0, 0)) o = context.active_object - if o is not None: self.manipulable_exit_selectmode(context) remove_manipulable(o.name) |