mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 18:59:10 +08:00
Remove debug code
CURA-6225
This commit is contained in:
parent
f521fae152
commit
3e819f56fc
@ -44,12 +44,8 @@ class UFPWriter(MeshWriter):
|
|||||||
# trigger loading other containers. Because those loaded containers are QtObjects, they must be created on the
|
# trigger loading other containers. Because those loaded containers are QtObjects, they must be created on the
|
||||||
# Qt thread. The File read/write operations right now are executed on separated threads because they are scheduled
|
# Qt thread. The File read/write operations right now are executed on separated threads because they are scheduled
|
||||||
# by the Job class.
|
# by the Job class.
|
||||||
def write(self, stream, nodes, mode = MeshWriter.OutputMode.BinaryMode):
|
|
||||||
print("------------> self _write = ", self._write)
|
|
||||||
return self._write(stream, nodes, mode = mode)
|
|
||||||
|
|
||||||
@call_on_qt_thread
|
@call_on_qt_thread
|
||||||
def _write(self, stream, nodes, mode = MeshWriter.OutputMode.BinaryMode):
|
def write(self, stream, nodes, mode = MeshWriter.OutputMode.BinaryMode):
|
||||||
archive = VirtualFile()
|
archive = VirtualFile()
|
||||||
archive.openStream(stream, "application/x-ufp", OpenMode.WriteOnly)
|
archive.openStream(stream, "application/x-ufp", OpenMode.WriteOnly)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user