Jaime van Kessel
f9b288f3c6
Move checking for some global features outside of the per node loop
...
CURA-7106
2020-06-23 13:24:22 +02:00
Jaime van Kessel
1f698fd664
Further simplify the getUsedExtruderStacks function
...
Should be a tiny bit faster
CURA-7106
2020-06-23 13:13:49 +02:00
Jaime van Kessel
1d9c92c47f
Use cached values for anti overhang and support mesh
...
CURA-7106
2020-06-23 13:08:03 +02:00
Jaime van Kessel
d897299b31
Simplify recomputeConvexHull code
...
CURA-7106
2020-06-23 12:55:13 +02:00
Jaime van Kessel
1900b0841a
Use cheaper convexhull function when not using raft
...
CURA-7106
2020-06-23 12:03:15 +02:00
Jaime van Kessel
1dc688dd4a
Prevent double updateNextStack during deepcopy
...
CURA-7106
2020-06-23 11:40:52 +02:00
Jaime van Kessel
4729bd1d0f
Remove unneeded check from deepcopy of settingoverride decorator
...
CURA-7106
2020-06-23 11:32:57 +02:00
Jaime van Kessel
85797c4cf5
Add processEvents calls to multiply job
...
Because we want them delicious updates
CURA-7106
2020-06-23 11:17:38 +02:00
Jaime van Kessel
9014fa79e2
Cache result of getEdgeDisallowedSize
...
CURA-7106
2020-06-23 11:01:43 +02:00
Kostas Karmas
d0d7e671ed
Make the deletion of the definitionChanges safer
...
Just in case findContainerStacks returns an empty list
2020-06-23 10:56:48 +02:00
Jaime van Kessel
ea568f4ad5
Make the updating of the buildvolume a bit trigger happy
...
CURA-7106
2020-06-23 10:52:39 +02:00
Jaime van Kessel
1505d59f4b
Add extra process events to arrange job
...
Doesn't actually speed up something, but it does prevent the GUI from
freezing, so it looks less laggy.
CURA-7106
2020-06-23 10:38:21 +02:00
Jaime van Kessel
737a9faa5f
Speed up the objects model
...
It was using a few expensive calls that had already been cached.
CURA-7106
2020-06-23 10:32:42 +02:00
Jaime van Kessel
46076bf21d
Simplify the renameNodes method
...
Especially when duplicating large amounts of items this would cause a bit of a slowdown
CURA-7106
2020-06-23 10:14:44 +02:00
Jaime van Kessel
f00e3f7363
Remove useless code
...
CURA-7106
2020-06-23 09:21:24 +02:00
Jaime van Kessel
570efc8310
Remove unneeded checks in convex hull node
...
CURA-7106
2020-06-22 17:18:22 +02:00
Jaime van Kessel
16bc2071ee
Cache values to speed up the rendering
...
CURA-7106
2020-06-22 16:49:42 +02:00
Jaime van Kessel
1b973b3f3c
Remove bit of code duplication
...
CURA-7106
2020-06-22 16:31:37 +02:00
Jaime van Kessel
61def4ba25
Prevent crash when requested polygon is too large
...
CURA-6P
2020-06-19 16:59:27 +02:00
Nino van Hooff
5e921698b2
Merge pull request #7947 from Ultimaker/CURA-7522_Removing_printer_created_by_projectfile_removes_original_printer
...
CURA-7522: Removing printer created by project file also removes the original printer
2020-06-19 16:39:03 +02:00
Ghostkeeper
ba8cb4ce4a
Don't pre-load engine before other plug-ins
...
This was a fix for the post-processing plug-in that's no longer required.
It was also only applied when running from source, so obviously it's not required or we'd have seen it in the builds.
2020-06-19 16:12:36 +02:00
Jaime van Kessel
d0a84828ff
Remove unneeded call to autosave trigger on initializaiton
2020-06-18 17:59:35 +02:00
Jaime van Kessel
f0002e265b
Mark recently constructed stacks as not dirty
...
The stacks would get marked dirty for setting some metadata, but since thats
part of their construction, they aren't really dirty.
Previously, every single stack that was loaded would be marked as dirty, which causes unneeded
saving.
2020-06-18 17:39:58 +02:00
Ghostkeeper
f8a88642c2
Don't crash when failing to create Toolbox.qml dialogue
...
Basically we should never be raising the master Exception class, really.
The enclosing class has error handling in case this returns None already, so this fix is easy.
Contributes to Sentry issue CURA-Y5.
2020-06-18 14:53:18 +02:00
Kostas Karmas
364769d821
Remove only the hidden printers when removing a printers
...
When printers share the same group_id, they are removed, regardless if
they are hidden or not. This was resulting in sometimes removing
multiple printers when removing a printer that was created by a project
file.
This PR fixes that by actually checking whether the printer to be
removed is hidden.
CURA-7522
2020-06-18 13:49:50 +02:00
Jaime van Kessel
466ec7c42a
Remove duplicated variable
...
It was holding the same data as extruders_to_disable
2020-06-18 11:08:17 +02:00
Jaime van Kessel
207138e49c
Merge branch 'master' of github.com:Ultimaker/Cura
2020-06-18 11:04:14 +02:00
Jaime van Kessel
930d92869a
Fix syncing empty material with cloud
...
For some reason the cloud gives a 0000 guid when the material is empty.
2020-06-18 11:03:40 +02:00
Kostas Karmas
039823e68e
Merge branch 'master' into CURA-7509_plugin_versions_on_crash
2020-06-18 09:13:28 +02:00
Nino van Hooff
5c52dcc5c4
Merge pull request #7935 from Ultimaker/CURA-7418-update-profile-window
...
CURA-7418 update profile window
2020-06-17 15:35:19 +02:00
Ghostkeeper
180e9b6612
Merge branch 'master' of github.com:Ultimaker/Cura
2020-06-16 16:37:30 +02:00
Kostas Karmas
87a97afd84
Add newlines at the end of files
...
CURA-7418
2020-06-16 13:35:28 +02:00
Jaime van Kessel
1a04744679
Prevent crash when starting the firmware update twice
...
CURA-6Q
2020-06-16 09:50:18 +02:00
Jaime van Kessel
c58ef1b531
Fix mypy issues
...
CURA-7418
2020-06-15 14:20:34 +02:00
Jaime van Kessel
f6e9bc7c3c
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-7418-update-profile-window
2020-06-15 14:10:20 +02:00
Jaime van Kessel
a7e7ddf4b5
Add the digital factory button
...
CURA-7418
2020-06-15 13:33:47 +02:00
Nino van Hooff
994f9fbde7
Re-implement ConnectionStatus by adding a pyqtSignal to HttpRequestMgr
...
and using ConnectionStatus as proxy for it.
CURA-7492
2020-06-15 11:39:06 +02:00
Kostas Karmas
9bf9bf9a3f
Fix typing
...
CURA-7492
2020-06-15 09:45:39 +02:00
Kostas Karmas
ddf312eca5
Refactor the connection status to be informed by the autosync
...
The autosync, which happens every 30 seconds, will now also inform the
connection status when the get request succeeds or fails, which is an
indicator of whether the internet is reachable.
CURA-7492
2020-06-15 09:34:56 +02:00
Remco Burema
30ad6e1445
On crash report unbundled plugins + version numbers.
...
3T-sessions have their own internal tickets now! See CURA-7509 for this one.
2020-06-12 18:39:18 +02:00
Nino van Hooff
e5a7ad2eca
Merge pull request #7904 from Ultimaker/CURA-7454_Add_remove_printers_button_in_removed_printers_from_account_message
...
CURA-7454: Add "remove printers" button in removed printers from account message
2020-06-12 17:35:09 +02:00
Jaime van Kessel
d33529f932
Use property & states instead of listening to changed signal
...
It makes a lot more sense to me to use states and an actual property.
CURA-7418
2020-06-11 17:31:19 +02:00
Kostas Karmas
6d7d7bdb95
Fix local authorization server crashing
...
The thread handling the web_server was crashing. This in turn ended in
the web_server not being able to start again, thus being impossible to
login again if you logged out.
2020-06-11 15:27:29 +02:00
Kostas Karmas
20c9be285f
Remove unnecessary variable from CuraApplication
...
In response to feedback comment https://github.com/Ultimaker/Cura/pull/7904#discussion_r438022415
CURA-7454
2020-06-10 12:50:03 +02:00
Kostas Karmas
984426fabb
Merge branch 'master' into CURA-7454_Add_remove_printers_button_in_removed_printers_from_account_message
2020-06-10 12:06:41 +02:00
Nino van Hooff
feeeb972f7
Merge pull request #7873 from Ultimaker/CURA-7438_Show_cloud_connection_not_available_printer_removed_from_account
...
CURA-7438 Handle the case when a cloud printer is removed from the account
2020-06-10 11:46:10 +02:00
Jaime van Kessel
1747dea203
Merge pull request #7902 from Ultimaker/CURA-7490_authorization_server_cpu_usage
...
Fix Authorization server not properly stopping after flow completes.
2020-06-09 17:27:25 +02:00
Jaime van Kessel
ed53557044
Merge branch 'master' of github.com:Ultimaker/Cura
2020-06-09 16:53:33 +02:00
Kostas Karmas
f26445a914
Fix mypy complaint
...
CURA-7454
2020-06-09 16:01:38 +02:00
Kostas Karmas
8c6a7d3098
Remove definitionChanges before removing a printer
...
When removing a printer, the files in %appdata%/cura/<version>/
/definition_changes/ remained intact. This commit fixes that by
making sure that the definitionChanges are removed before removing
the machine.
2020-06-09 15:56:13 +02:00