Jaime van Kessel
081b2a28fe
Expose Account API to QML
...
This is done by adding the API as an SingletonType to Cura.
CURA-5744
2018-09-21 17:23:30 +02:00
Jaime van Kessel
b54383e685
Added account object to API
...
CURA-5744
2018-09-21 16:43:32 +02:00
Jaime van Kessel
060ea0b762
Fixed up final bit of mypy issues
...
CURA-5744
2018-09-21 14:12:31 +02:00
Jaime van Kessel
d0fc4878c2
Fix number of mypy mistakes
...
CURA-5744
2018-09-21 13:54:37 +02:00
Ghostkeeper
b26c78202b
Consolidate log entries about excluded materials
...
I got a log where 80% of the log was this particular message. Let's not do that.
2018-09-21 13:11:12 +02:00
Lipu Fei
a80fde1495
Merge remote-tracking branch 'origin/3.5'
2018-09-21 12:11:18 +02:00
Lipu Fei
1bf78c086d
Remove import plugins which is not a module
2018-09-21 12:03:15 +02:00
Jaime van Kessel
3ae223334f
Removed relative imports
...
Since the oauth module isn't just in a plugin anymore, there is no need for any of the relative imports
CURA-5744
2018-09-21 12:02:11 +02:00
Jaime van Kessel
3830fa0fd9
Initial move of the code of CuraPluginOAuth2Module
...
CURA-5744
2018-09-21 11:58:30 +02:00
Diego Prado Gesto
8352fd1ae0
Merge branch '3.5'
2018-09-21 09:29:17 +02:00
Diego Prado Gesto
4bd5d29970
Don't crash if the plugin is not found (maybe some error while loading).
...
In that case it's better not to show the dialog than crashing.
2018-09-20 18:41:30 +02:00
Diego Prado Gesto
2d300ab395
Revert "Fix plugins import in CuraApplication"
...
This reverts commit e87f3d7ca9
.
2018-09-20 18:34:08 +02:00
Ian Paschal
0e44a78251
Set non-NOTIFY properties to constants
2018-09-20 15:33:10 +02:00
Simon Edwards
9d53a31ec1
Add a missing file
...
CL-897
2018-09-20 10:28:41 +02:00
Ian Paschal
60ff8aa05f
Merge remote-tracking branch 'origin/3.5' into cura_connect_improvements
2018-09-20 10:18:00 +02:00
Simon Edwards
b7673a7438
Show Cura Connect alerts in the monitor tab
...
CL-897
2018-09-19 16:53:18 +02:00
Lipu Fei
3b62284276
Merge remote-tracking branch 'origin/3.5'
2018-09-18 16:15:55 +02:00
Diego Prado Gesto
e28b662649
Clean up the code a bit and update comments.
...
Contributes to CURA-5736.
2018-09-18 16:04:31 +02:00
Lipu Fei
9924e3e26c
Remove duplicated code
...
CURA-5735
2018-09-18 15:08:55 +02:00
Lipu Fei
ddc5d983a1
Fix single extrusion machines without an ExtruderStack
...
CURA-5736
2018-09-18 13:35:25 +02:00
Ghostkeeper
c6fa9474d6
Merge branch '3.5'
2018-09-17 14:41:45 +02:00
Diego Prado Gesto
74fcc10f59
Merge branch '3.5' into CURA-5682_material_manager_leftovers
2018-09-17 12:11:00 +02:00
Ghostkeeper
9e21af65b4
Merge branch '3.5'
2018-09-17 10:54:44 +02:00
Ghostkeeper
8a94042a1f
Fix icon name role
...
The icons were not displaying in the context menu of the settings.
2018-09-17 10:51:56 +02:00
Ghostkeeper
a870060a34
Remove unused parameter
2018-09-14 17:00:55 +02:00
Ghostkeeper
e9ac0e5564
Merge branch '3.5'
2018-09-14 12:41:35 +02:00
Ghostkeeper
fb9c21e914
Fix imports
2018-09-14 12:41:03 +02:00
Ghostkeeper
3b36223681
Merge branch '3.5'
2018-09-14 12:40:29 +02:00
Ghostkeeper
e9cdd47a03
Fix types of getGlobalContainerStack call results
...
We know in these places that there must be a global stack at this point. So to hide the type error we'll cast it here.
Of course, the danger in this is that someone might call this function that doesn't know about this requirement and calls it when there is potentially no global stack yet. Hopefully they'll discover this crash when that happens then.
2018-09-14 12:38:16 +02:00
Ghostkeeper
c962b519b1
Clarify PRIME_CLEARANCE global better
2018-09-13 16:56:14 +02:00
Jaime van Kessel
757c8754b1
Merge branch '3.5' of github.com:Ultimaker/Cura
2018-09-13 16:23:55 +02:00
Aleksei S
f0e8746a22
Code style, duplicate material
...
CURA-5673
2018-09-13 13:23:10 +02:00
Aleksei S
5db008f763
New duplicated favorite material will be added to favorite category
...
CURA-5673
2018-09-13 12:56:51 +02:00
Diego Prado Gesto
7e1a833e9c
Merge branch '3.5' into CURA-5682_material_manager_leftovers
2018-09-12 17:12:40 +02:00
Lipu Fei
b27e5a1f77
Fix getActiveExtruderStacks()
...
CURA-5719
The dict values can be a random list. We need to fetch the first N
extruders starting from position 0.
2018-09-12 14:00:36 +02:00
Diego Prado Gesto
6d2492e5cb
Remove spurious signal, it does the same as materialsUpdated.
...
Contributes to CURA-5682.
2018-09-12 12:59:13 +02:00
Diego Prado Gesto
a909c8f029
Don't emit signal if the favorite list didn't change.
...
Contributes to CURA-5682.
2018-09-11 22:05:39 +02:00
Jaime van Kessel
c84a2213a7
Merge branch '3.5' of github.com:Ultimaker/Cura
2018-09-11 11:01:55 +02:00
Diego Prado Gesto
351fe5c5bc
Fix style.
2018-09-10 17:25:06 +02:00
Jaime van Kessel
729d78e14a
Updated another set of typing
2018-09-10 16:08:31 +02:00
Jaime van Kessel
e7d9f0ce45
Added typing for various setting classes
2018-09-10 15:24:11 +02:00
Lipu Fei
d8421105d4
Fix quality lookup
...
CURA-5694
For a machine, if it has extruder-specific qualities, when we look up
extruder qualities, we should NOT fall back to use the global qualities.
2018-09-10 14:39:10 +02:00
Lipu Fei
d01ec7872d
Fix quality lookup
...
CURA-5694
For a machine, if it has extruder-specific qualities, when we look up
extruder qualities, we should NOT fall back to use the global qualities.
2018-09-10 14:23:46 +02:00
Jaime van Kessel
67bc45e37d
Added 3MF writer as required plugin
2018-09-10 09:40:53 +02:00
Jaime van Kessel
5c6c299b27
Cleanup extruder manager
...
Few more unused functions removed & simplified.
It also fixes a few more typing issues that I encountered.
2018-09-07 17:06:18 +02:00
Jaime van Kessel
e6d0a9cc6a
Add missing typing
2018-09-07 16:33:44 +02:00
Jaime van Kessel
a8fc6aabcc
Switch incorrect usage of getMachineExtruders to getActiveExtruderStacks
2018-09-07 16:27:56 +02:00
Jaime van Kessel
638f9fb941
Remove unused functions
2018-09-07 16:02:54 +02:00
Jaime van Kessel
20ec8828ed
Fix incorrect type hinting
...
The type hinting indicated that the property was a dict, but it could also be None.
In cases where it was None, it would cause an exception, which was also fixed (since
unpacking None will break)
2018-09-07 15:32:07 +02:00
Ian Paschal
4cc1b6ce02
Add typings and fix code style
2018-09-06 16:57:45 +02:00