diff options
Diffstat (limited to 'ant_landscape/ant_functions.py')
-rw-r--r-- | ant_landscape/ant_functions.py | 4 |
1 files changed, 2 insertions, 2 deletions
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") |