Add source file type to anonymous usage statistics

Contributes to issue CURA-8232.
This commit is contained in:
Ghostkeeper 2021-05-17 17:54:13 +02:00
parent 90eb2bfbdc
commit 77b7a29fca
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
2 changed files with 6 additions and 0 deletions

View file

@ -229,6 +229,11 @@ class SliceInfo(QObject, Extension):
model["model_settings"] = model_settings
if node.source_mime_type is None:
model["mime_type"] = ""
else:
model["mime_type"] = node.source_mime_type
data["models"].append(model)
print_times = print_information.printTimes()

View file

@ -54,6 +54,7 @@
<li><b>Bounding Box:</b> [minimum x, y, z; maximum x, y, z]</li>
<li><b>Is Helper Mesh:</b> no</li>
<li><b>Helper Mesh Type:</b> support mesh</li>
<li><b>File type:</b> STL</li>
</ul>
</li>
</ul>