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
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
Ian Paschal
5b371ac375
CURA-5141 Update changelog to 3.3
2018-03-26 14:36:24 +02:00
Diego Prado Gesto
689f208615
Merge branch 'master' of github.com:Ultimaker/Cura
2018-03-26 14:15:10 +02:00
Diego Prado Gesto
2486303011
CURA-5134 Use the built-in windowClosed method instead of quit when
...
finishing installing or uninstalling plugins, otherwise the temporary
data is not stored in the config file.
This caused some problems with the lazy uninstall plugins since the list
was never stored.
2018-03-26 14:12:27 +02:00
jack
96842ea7e6
Merge pull request #3229 from Ultimaker/feature_persistent_postprocessing
...
Persistent Post-Processing Scripts
2018-03-26 14:01:07 +02:00
Ghostkeeper
e2724f53ad
Only check for loaded plug-ins at initial call to loadAllScripts
...
Not for every call to loadScripts.
2018-03-26 13:55:15 +02:00
Aleksei S
4567388daa
Merge branch 'master' of github.com:Ultimaker/cura
2018-03-26 13:52:18 +02:00
Aleksei S
767789d394
Filter generic list for Ultimaker printers.
...
CURA-5149
2018-03-26 13:51:37 +02:00
Ghostkeeper
14936fdf21
Move looping over script directories to separate function
...
Removes some code repetition.
2018-03-26 13:50:29 +02:00
Diego Prado Gesto
92661eb35c
Merge branch 'master' of github.com:Ultimaker/Cura
2018-03-26 11:53:46 +02:00
Diego Prado Gesto
04c21f3f30
CURA-4557 Minor changes in the message.
2018-03-26 11:52:39 +02:00
Ian Paschal
8871ac9955
Merge branch 'master' of https://github.com/Ultimaker/Cura
2018-03-26 11:30:59 +02:00
Ian Paschal
66fa1c0a31
CURA-5140 Fixed typo
2018-03-26 11:30:57 +02:00
Jack Ha
c7a3d33411
CURA-5138 generate unique name for each per object setting container, fix per object settings being lost when multiplying
2018-03-26 11:20:35 +02:00
jack
ff7e0bf5f9
Merge pull request #3559 from Ultimaker/feature_gz_reader
...
Feature gz reader update
2018-03-26 09:38:11 +02:00
Ian Paschal
76b837e1cb
Merge pull request #2333 from fieldOfView/feature_xmlmaterials_cura_settings
...
Cura-specific settings in xmlmaterials
2018-03-23 19:52:01 +01:00
Diego Prado Gesto
6dc416e180
CURA-5128 Change method name to be more clear.
...
Remove a line introduced by mistake in previous commit.
2018-03-23 17:21:09 +01:00
Diego Prado Gesto
bc5881fe1d
Merge branch 'master' into feature_gz_reader
2018-03-23 17:15:55 +01:00