Correct warning on equality check

这个提交包含在:
Craig Warren
2023-05-02 14:52:29 +01:00
父节点 4b69c88cf1
当前提交 2a8e068324

查看文件

@@ -341,7 +341,7 @@ class Comments():
def materials_comment(self):
if not self.averaged_materials:
return [m.ID for m in self.grid.materials if m.type is not 'dielectric-smoothed']
return [m.ID for m in self.grid.materials if m.type != 'dielectric-smoothed']
else:
return [m.ID for m in self.grid.materials]