Fix : Poll checking for file is not needed

This commit is contained in:
Gorgious
2021-08-15 19:27:25 +02:00
parent d7a76bfa11
commit d22c11c200
@@ -82,10 +82,6 @@ class CreateProjectLibrary(bpy.types.Operator):
bl_label = "Create Project Library"
bl_options = {"REGISTER", "UNDO"}
@classmethod
def poll(cls, context):
return IfcStore.get_file()
def execute(self, context):
IfcStore.begin_transaction(self)
IfcStore.add_transaction_operation(self, rollback=self.rollback, commit=lambda data: True)