mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
small fix for syntax warning after 4865b62ea
SyntaxWarning: "is not" with a literal. Did you mean "!="?
This commit is contained in:
@@ -247,7 +247,7 @@ class GenerateSpacesFromWalls(bpy.types.Operator, tool.Ifc.Operator):
|
||||
|
||||
self.set_obj_origin_to_bboxcenter(obj)
|
||||
|
||||
if z is not 0:
|
||||
if z != 0:
|
||||
obj.location = obj.location + Vector((0,0,z))
|
||||
|
||||
context.view_layer.active_layer_collection.collection.objects.link(obj)
|
||||
|
||||
Reference in New Issue
Block a user