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:
Diffstat (limited to 'archipack/archipack_autoboolean.py')
-rw-r--r--archipack/archipack_autoboolean.py2
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