diff options
author | Stephen Leger <stephen@3dservices.ch> | 2019-04-07 11:13:42 +0300 |
---|---|---|
committer | Stephen Leger <stephen@3dservices.ch> | 2019-04-07 11:13:42 +0300 |
commit | a68c4204ac5e7345bf42eb0435356ee8fe48eae0 (patch) | |
tree | fbafab3a3bce738bba12e0fb3bfbd37d93e26242 /archipack/archipack_autoboolean.py | |
parent | 71846207f1e6fcff541558ebcb69323fc8885df2 (diff) |
archipack 2.8 move to UI panel, fix auto-boolean in draw tools
Diffstat (limited to 'archipack/archipack_autoboolean.py')
-rw-r--r-- | archipack/archipack_autoboolean.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archipack/archipack_autoboolean.py b/archipack/archipack_autoboolean.py index 7d8a90a6..f5b6eaf4 100644 --- a/archipack/archipack_autoboolean.py +++ b/archipack/archipack_autoboolean.py @@ -554,7 +554,7 @@ class ARCHIPACK_OT_single_boolean(Operator): @classmethod def poll(cls, context): w = context.active_object - return (w.data is not None and + return (w is not None and w.data is not None and ("archipack_wall2" in w.data or "archipack_wall" in w.data or "archipack_roof" in w.data) and |