Skip to content

Commit

Permalink
Small change
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoveda committed Nov 24, 2019
1 parent b932826 commit ee3f7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artellapipe/libs/pyblish/validators/modeling/hardedges.py
Expand Up @@ -49,7 +49,7 @@ def process(self, instance):
edge_it = OpenMaya.MItMeshEdge(sel_it.getDagPath())
object_name = sel_it.getDagPath().getPath()
while not edge_it.isDone():
if edge_it.isSmooth == False and not edge_it.onBoundary() == False:
if edge_it.isSmooth is False and not edge_it.onBoundary() is False:
edge_index = edge_it.index()
component_name = '{}.e[{}]'.format(object_name, edge_index)
hard_edges_found.append(component_name)
Expand Down

0 comments on commit ee3f7fb

Please sign in to comment.