diff options
Diffstat (limited to 'io_mesh_ply')
-rw-r--r-- | io_mesh_ply/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_ply/__init__.py b/io_mesh_ply/__init__.py index 7e2a7037..3e84a4fd 100644 --- a/io_mesh_ply/__init__.py +++ b/io_mesh_ply/__init__.py @@ -134,7 +134,7 @@ class ExportPLY(bpy.types.Operator, ExportHelper, IOPLYOrientationHelper): @classmethod def poll(cls, context): - return context.active_object != None + return context.active_object is not None def execute(self, context): from . import export_ply |