Diego Prado Gesto
79daf3706b
CURA-5158 Create a custom signal that is emitted when global container
...
changes and output devices change.
2018-03-28 11:07:48 +02:00
Ghostkeeper
fce703536b
Move factory reset to Uranium
...
This way it can be called from other crash handling routines there too, such as ConfigurationErrorMessage which may be triggered by arbitrary configuration errors in Uranium.
Contributes to issue CURA-5045.
2018-03-28 08:43:46 +02:00
Lipu Fei
70f867c4f1
Merge remote-tracking branch 'origin/3.3'
2018-03-27 16:52:10 +02:00
Ghostkeeper
2214a5f40a
Remove duplicate imports
...
Contributes to issue CURA-5045.
2018-03-27 16:30:10 +02:00
Ghostkeeper
da0d7a25c3
Remove semicolon
...
What is this? Java???
Contributes to issue CURA-5045.
2018-03-27 16:02:43 +02:00
Diego Prado Gesto
35cd4eb572
Merge branch '3.3' of github.com:Ultimaker/Cura into 3.3
2018-03-27 15:19:09 +02:00
Diego Prado Gesto
bf7ab6d4ea
Change target version of the dictionary of doom to be compliant with the
...
new instance container's version number.
2018-03-27 15:18:25 +02:00
Lipu Fei
f15771856f
Add parent for stacks and containers that are created
2018-03-27 15:03:11 +02:00
Ghostkeeper
e174a015ce
Remove unused function
...
It's not used anywhere so please let us not maintain this code.
Contributes to issue CURA-5045.
2018-03-27 14:53:19 +02:00
Ghostkeeper
8b75a0e92b
Better error handling if there is no global stack
...
It reports that the workspace failed to load instead of crashing the entire application then.
Contributes to issue CURA-5045.
2018-03-27 14:51:34 +02:00
Ghostkeeper
d9e8d64e3f
Add typing for _determineGlobalAndExtruderStackFiles
...
Contributes to issue CURA-5045.
2018-03-27 14:46:21 +02:00
Ghostkeeper
d6205d5d85
Show configuration error when extruder positions don't match
...
When any extruder position doesn't match when adding a container, don't add any of the extruders. Don't add faulty half-data to the registry!
Contributes to issue CURA-5045.
2018-03-27 14:38:15 +02:00
Lipu Fei
c6579b571a
Merge remote-tracking branch 'origin/3.3'
2018-03-27 14:33:41 +02:00
Lipu Fei
98eed89686
Remove global changed check that prevents signal emit
...
CURA-5157
2018-03-27 14:32:40 +02:00
Ghostkeeper
013bb04a7d
Show configuration error if finding definition to add wasn't found
...
It must've gotten this ID from somewhere.
Contributes to issue CURA-5045.
2018-03-27 14:32:13 +02:00
Ghostkeeper
544c2c69b4
Remove unused imports
...
Contributes to issue CURA-5045.
2018-03-27 14:30:48 +02:00
Ghostkeeper
4f56221126
Remove catch of RuntimeError
...
The error is no longer thrown and the function has its own error message.
Contributes to issue CURA-5045.
2018-03-27 14:28:17 +02:00
Ghostkeeper
dd3b49e80d
Remove check for if variant container is a variant container
...
The filter on type=variant is right above it in the same function, 20 lines of code earlier. I think this check is superfluous then.
Contributes to issue CURA-5045.
2018-03-27 14:26:05 +02:00
Ghostkeeper
bc0a3e7fe2
Show error when finding duplicated variant names
...
Don't add the second variant we encounter then.
Contributes to issue CURA-5045.
2018-03-27 14:23:54 +02:00
Ghostkeeper
727a164722
Only show error when quality is global with material/nozzle
...
Don't crash. Only show an error message that indicates that there is a problem with this one.
Contributes to issue CURA-5045.
2018-03-27 14:19:36 +02:00
Ghostkeeper
7af941541b
Check before adding quality changes node
...
So you don't end up with half a node if we have to abort early. When this happens, show the configuration error message.
Contributes to issue CURA-5045.
2018-03-27 14:15:29 +02:00
Diego Prado Gesto
3fb14691a9
CURA-5160 Skip empty quality when load project file
2018-03-27 14:09:17 +02:00
Jack Ha
ca4cb419ff
CURA-5157 prevent some startup crash after upgrading from 2.7
2018-03-27 14:08:12 +02:00
Ghostkeeper
027f4b44bb
Don't crash when finding duplicated materials
...
Only report it to the user.
Contributes to issue CURA-5045.
2018-03-27 13:57:52 +02:00
Jack Ha
80676d80ba
Merge branch '3.3' of github.com:Ultimaker/Cura into 3.3
2018-03-27 13:04:50 +02:00
Jack Ha
04a135e6a3
CURA-5157 renamed extruder to position in addExtruderStackForSingleExtrusionMachine, fixes loading some upgrades from 3.0
2018-03-27 13:04:05 +02:00
Diego Prado Gesto
2ee42dda33
CURA-5158 The printer menu now reacts to the global container changes so
...
it is updates even if there is no connection.
2018-03-27 11:56:08 +02:00
Diego Prado Gesto
8c5673dd3c
Change target version of the dictionary of doom to be compliant with the
...
new instance container's version number.
2018-03-27 11:44:24 +02:00
Ian Paschal
5e1f29ec1c
CURA-5141 added persistent scripts
2018-03-27 10:40:27 +02:00
Ghostkeeper
593c80225d
Show configuration error when failing to find container in ContainerNode
...
Instead of only logging it.
Contributes to issue CURA-5045.
2018-03-27 09:54:47 +02:00
Ghostkeeper
1aea5356b6
More early out if no global stack
...
This prevents all sorts of crashes on start-up, instead causing no active printer to appear and the add printer wizard to show up.
Contributes to issue CURA-5045.
2018-03-27 09:43:37 +02:00
Ghostkeeper
f2c8d8756e
Don't emit changed signals if the global stack ID doesn't exist
...
Because nothing will change then.
This is equivalent to putting the call to self.__emitChangedSignals() in the if-statement. But I switched the condition of the if-statement around because it looks more like error handling to me. This is the main case.
Contributes to issue CURA-5045.
2018-03-27 09:41:14 +02:00
Ghostkeeper
75e993eb60
Don't crash when updating material list without global container
...
There is nothing to update then.
Contributes to issue CURA-5045.
2018-03-27 09:39:10 +02:00
Ghostkeeper
74a0da14bf
Don't crash if showing this before any machine is added
...
There must be no quality profiles then.
Contributes to issue CURA-5045.
2018-03-27 09:37:04 +02:00
Ghostkeeper
d74c1e0d7a
Don't crash if getting container changed signals before global stack
...
Just don't get any signals. This function should be called again if the global container changed anyway.
Contributes to issue CURA-5045.
2018-03-27 09:29:41 +02:00
Ghostkeeper
bd4aba2572
Return empty extruder list if no global stack
...
Just about every call of this function (except 2) would break when this returns None. The signature also says it doesn't return None. Let's return an empty list instead.
Contributes to issue CURA-5045.
2018-03-27 09:28:19 +02:00
fieldOfView
caf700750c
Revert "Fix duplicating SettingOverrideDecorator settings"
...
This reverts commit 977eb8c94d3364b98b27582700942884bfce8b3a.
This has been fixed in a different way in c7a3d33411a51f4fe284bfc45f0bba178636cc27
2018-03-27 08:32:13 +02:00
Aleksei S
b36bfa87bd
Merge branch '3.3' of github.com:Ultimaker/cura into 3.3
2018-03-26 17:12:31 +02:00
Aleksei S
2240c38fd7
Exclude HIPS and PETG material for UM
...
CURA-5149
2018-03-26 17:11:38 +02:00
Ian Paschal
57991a44d5
CURA-5141 Suggestions from Terri
2018-03-26 16:59:24 +02:00
Aleksei S
60d22bd92b
Merge branch 'master' of github.com:Ultimaker/cura
2018-03-26 16:53:41 +02:00
Aleksei S
f021c83a3e
Exclude HIPS and PETG material type from all UM printers.
...
CURA-5149
2018-03-26 16:50:59 +02:00
Jack Ha
6619bd40cb
CURA-5149 moved excluded_materials to all UM printers
2018-03-26 16:49:56 +02:00
Ghostkeeper
6d3fed8f52
Allow getContainer() to return None
...
And in the rest of the locations we must then check if it's None and handle that gracefully.
Here we assume that the getContainer message shows a message to the user if necessary. For now we'll just log it.
Contributes to issue CURA-5045.
2018-03-26 15:48:03 +02:00
Jack Ha
38e15f009f
CURA-5149 add possibility to exclude specific items from materials list
2018-03-26 15:20:31 +02:00
Jack Ha
2a39d81a3c
Revert "Filter generic list for Ultimaker printers."
...
This reverts commit 767789d394c4ebd15607f01c9fad2a0e3aa81d2b.
2018-03-26 15:07:37 +02:00
Jack Ha
18e3e084a5
Revert "Check for Ultimaker printers based on manufacturer"
...
This reverts commit 5b36b4fb845cd1468f6539fb401b8d9782472322.
2018-03-26 15:07:35 +02:00
Jack Ha
07ac09e878
Revert "Use set for searching"
...
This reverts commit 80c2b3b7e8f21aac026fb01b80cc5ca23a5be462.
2018-03-26 15:07:27 +02:00
Lipu Fei
80c2b3b7e8
Use set for searching
...
CURA-5149
2018-03-26 14:40:25 +02:00
Lipu Fei
5b36b4fb84
Check for Ultimaker printers based on manufacturer
...
CURA-5149
2018-03-26 14:40:25 +02:00