Comparison with None is now using 'is' operator
This commit is contained in:
committed by
Yorik van Havre
parent
aaf78f9d37
commit
390a093a67
@@ -1004,7 +1004,7 @@ class _Wall(ArchComponent.Component):
|
||||
|
||||
if prop == "Length":
|
||||
if (obj.Base and obj.Length.Value
|
||||
and hasattr(self,"oldLength") and (self.oldLength != None)
|
||||
and hasattr(self,"oldLength") and (self.oldLength is not None)
|
||||
and (self.oldLength != obj.Length.Value)):
|
||||
|
||||
if hasattr(obj.Base,'Shape'):
|
||||
|
||||
Reference in New Issue
Block a user