diff options
Diffstat (limited to 'ant_landscape')
-rw-r--r-- | ant_landscape/__init__.py | 4 | ||||
-rw-r--r-- | ant_landscape/ant_functions.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ant_landscape/__init__.py b/ant_landscape/__init__.py index fd758e33..49432e81 100644 --- a/ant_landscape/__init__.py +++ b/ant_landscape/__init__.py @@ -391,7 +391,7 @@ class AntDisplaceSettingsPanel(bpy.types.Panel): if not ant.sphere_mesh: col = box.column() col.prop(ant, "edge_falloff") - if ant.edge_falloff is not "0": + if ant.edge_falloff != "0": col = box.column(align=True) col.prop(ant, "edge_level") if ant.edge_falloff in ["2", "3"]: @@ -401,7 +401,7 @@ class AntDisplaceSettingsPanel(bpy.types.Panel): col = box.column() col.prop(ant, "strata_type") - if ant.strata_type is not "0": + if ant.strata_type != "0": col = box.column() col.prop(ant, "strata") col = box.column() diff --git a/ant_landscape/ant_functions.py b/ant_landscape/ant_functions.py index bdabb62c..ca81ce6d 100644 --- a/ant_landscape/ant_functions.py +++ b/ant_landscape/ant_functions.py @@ -662,7 +662,7 @@ def draw_ant_displace(self, context, generate=True): if not self.sphere_mesh: col = box.column() col.prop(self, "edge_falloff") - if self.edge_falloff is not "0": + if self.edge_falloff != "0": col = box.column(align=True) col.prop(self, "edge_level") if self.edge_falloff in ["2", "3"]: @@ -672,7 +672,7 @@ def draw_ant_displace(self, context, generate=True): col = box.column() col.prop(self, "strata_type") - if self.strata_type is not "0": + if self.strata_type != "0": col = box.column() col.prop(self, "strata") |