mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06:00
Fix check for succesfully imported 3MFReader & 3MFWriter modules
This commit is contained in:
parent
2b761b87ac
commit
adf2ac10b0
2 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ def getMetaData():
|
|||
}
|
||||
}
|
||||
|
||||
if "ThreeMFWriter" in sys.modules:
|
||||
if "3MFWriter.ThreeMFWriter" in sys.modules:
|
||||
metaData["mesh_writer"] = {
|
||||
"output": [{
|
||||
"extension": "3mf",
|
||||
|
@ -45,7 +45,7 @@ def getMetaData():
|
|||
return metaData
|
||||
|
||||
def register(app):
|
||||
if "ThreeMFWriter" in sys.modules:
|
||||
if "3MFWriter.ThreeMFWriter" in sys.modules:
|
||||
return {"mesh_writer": ThreeMFWriter.ThreeMFWriter(),
|
||||
"workspace_writer": ThreeMFWorkspaceWriter.ThreeMFWorkspaceWriter()}
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue