24427 Commits

Author SHA1 Message Date
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
ba34fb6e35
Decrease amount of nested if statements
Wont add anything to speed, but it will make it easier to read

CURA-7106
2020-06-23 10:05:05 +02:00
Jaime van Kessel
f00e3f7363
Remove useless code
CURA-7106
2020-06-23 09:21:24 +02:00
Jaime van Kessel
ac7f27fddc
Remove another unneded call in the solidview
The check is called a lot, especially if there are a ton of models.

CURA-7106
2020-06-22 17:32:30 +02:00
Jaime van Kessel
333b2959cd
Decrease the frequency of the non-manifold check
CURA-7106
2020-06-22 17:27:46 +02:00
Jaime van Kessel
f4cc8b4870
Remove another check from rendering code
CURA-7106
2020-06-22 17:22:47 +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
9cce800d42
Run CTest in parallel (#7952)
* 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.

* Run automated tests in parallel

Done during Turbo Testing and Tooling.

* Pass number of processors via ctest command itself

More reliable apparently because it's a CMake variable that doesn't get cached. It shouldn't get cached or set in the CMake script because it's not the same for every computer.

Done during Turbo Testing and Tooling.
2020-06-19 16:14:10 +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
f8e648fcb3
Add the no response config 2020-06-19 16:04:59 +02:00
Jaime van Kessel
cb657ac45a
Some minor stylechanges in tests 2020-06-19 15:34:13 +02:00
Louis Wouters
3b4833a7e6 Fixed double ";" when using putValue on a line with a comment 2020-06-19 11:38:27 +02:00
BeamUp 3D
b7eb3f4f75
Add beamup_l.3mf 2020-06-19 11:35:26 +03:00
BeamUp 3D
ef05cd306f
Delete beamup_l.stl 2020-06-19 11:34:53 +03:00
BeamUp 3D
e3e9aec997
version update 2020-06-19 11:31:13 +03:00
BeamUp 3D
f0463d0789
version update 2020-06-19 11:30:57 +03:00
BeamUp 3D
67d229aff0
version update 2020-06-19 11:30:41 +03:00
BeamUp 3D
52ace264ac
version update 2020-06-19 11:30:27 +03:00
BeamUp 3D
31e755f6a3
version update 2020-06-19 11:29:55 +03:00
BeamUp 3D
73d221cb46
stl to 3mf 2020-06-19 11:28:29 +03:00
Jaime van Kessel
ea0c8ff9bc
Implement setDirty for mockContainer 2020-06-18 18:05:07 +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
43c5d05853
Merge branch 'CURA-7505_Refactor_registration_of_cloud_printers' 2020-06-18 17:21:05 +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
Ghostkeeper
85bfb02228
Show an error if trying to open a project file with unknown machine
Previously it would crash.

Fixes Sentry issue CURA-Y1.
2020-06-18 14:31:47 +02:00
Kostas Karmas
18f3d187d5 Remove extra newlines in printers added from account message
Since \n are now replaced by <br>, the \n should be removed from this specific message.
Required after the changes in efaad4f6c8
2020-06-18 14:08:35 +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
Nino van Hooff
c810ae97a7
Merge pull request #7919 from adripo/patch-2
Fixed next XY return position after pause
2020-06-18 11:27:32 +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
Konstantinos Karmas
6634a2bff3
Merge pull request #7928 from Ultimaker/CURA-7509_plugin_versions_on_crash
[CURA-7509] On crash report unbundled plugins + version numbers.
2020-06-18 09:54:54 +02:00
Kostas Karmas
039823e68e Merge branch 'master' into CURA-7509_plugin_versions_on_crash 2020-06-18 09:13:28 +02:00
Kostas Karmas
8abaf69873 Update CloudOutputDevice of the machine when it is rediscovered
Even though the metadata of the machine was updated when it was
rediscovered, the new cluster id was not updated in all its references
(such as in the _remote_clusters and in the _um_cloud_printers dicts).
This commit fixes that issue by properly updating all the entries
that depend on the machine's cluster id.

CURA-7505
2020-06-17 16:11:18 +02:00
Jaime van Kessel
7d75060342
Merge branch 'CURA-6747_and_CURA-6989-stairs-on-the-slope' of github.com:Ultimaker/Cura 2020-06-17 16:06:35 +02:00
Jaime van Kessel
d8ac7fdf2a
Merge branch 'master' of github.com:Ultimaker/Cura 2020-06-17 16:03:39 +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
Nino van Hooff
6a02abefcd Change copy of "Your are in sync with your account"
to "Account synced"

Don't think the duplication I found is necessary, but I don't dare to
deduplicate it as I found some logic inconsistencies

CURA-7418
2020-06-17 15:34:13 +02:00
Jaime van Kessel
5a77595807
Fix workspace reader not taking upgrade into account
CURA-7517
2020-06-17 11:15:55 +02:00
Remco Burema
7e18e796dc
Merge branch 'master' of https://github.com/Ultimaker/Cura 2020-06-17 11:03:32 +02:00