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_cutter.py | |
parent | 1977c9c0aa5ea196eaa612b266afda75726481ae (diff) |
archipack 2.8 compatibility (step2)
Diffstat (limited to 'archipack/archipack_cutter.py')
-rw-r--r-- | archipack/archipack_cutter.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/archipack/archipack_cutter.py b/archipack/archipack_cutter.py index d46dd58f..3b9f424d 100644 --- a/archipack/archipack_cutter.py +++ b/archipack/archipack_cutter.py @@ -655,11 +655,8 @@ class ArchipackCutter(): parts_expand : BoolProperty( default=False ) - closed : BoolProperty( - description="keep closed to be wall snap manipulator compatible", - options={'SKIP_SAVE'}, - default=True - ) + + closed = True def draw(self, layout, context): box = layout.box() @@ -849,7 +846,8 @@ class ArchipackCutter(): self.update_parent(context, o) def update_path(self, context): - user_def_path = context.scene.objects.get(self.user_defined_path) + + user_def_path = context.scene.objects.get(self.user_defined_path.strip()) if user_def_path is not None and user_def_path.type == 'CURVE': self.from_spline(context, user_def_path.matrix_world, |