mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Merge pull request #6662 from Ultimaker/CURA-6981_add_build_type
CURA-6981 Add build_type into crash reports and stats
This commit is contained in:
commit
4811f15a7b
2 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,8 @@ from UM.Logger import Logger
|
|||
from UM.PluginRegistry import PluginRegistry
|
||||
from UM.Qt.Duration import DurationFormat
|
||||
|
||||
from cura import ApplicationMetadata
|
||||
|
||||
from .SliceInfoJob import SliceInfoJob
|
||||
|
||||
|
||||
|
@ -119,6 +121,7 @@ class SliceInfo(QObject, Extension):
|
|||
data["time_stamp"] = time.time()
|
||||
data["schema_version"] = 0
|
||||
data["cura_version"] = application.getVersion()
|
||||
data["cura_build_type"] = ApplicationMetadata.CuraBuildType
|
||||
|
||||
active_mode = Application.getInstance().getPreferences().getValue("cura/active_mode")
|
||||
if active_mode == 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue