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 977eb8c94d .
This has been fixed in a different way in c7a3d33411
2018-03-27 08:32:13 +02:00
Aleksei S
2240c38fd7
Exclude HIPS and PETG material for UM
...
CURA-5149
2018-03-26 17:11:38 +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 767789d394 .
2018-03-26 15:07:37 +02:00
Jack Ha
18e3e084a5
Revert "Check for Ultimaker printers based on manufacturer"
...
This reverts commit 5b36b4fb84 .
2018-03-26 15:07:35 +02:00
Jack Ha
07ac09e878
Revert "Use set for searching"
...
This reverts commit 80c2b3b7e8 .
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
Aleksei S
767789d394
Filter generic list for Ultimaker printers.
...
CURA-5149
2018-03-26 13:51:37 +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
fieldOfView
3ebc90337c
Merge branch 'master' into fix_support_eraser_related
2018-03-24 19:05:56 +01:00
fieldOfView
78b49e8400
When multiplying a parented node, multiply the parent instead (like groups)
2018-03-23 16:35:36 +01:00
fieldOfView
977eb8c94d
Fix duplicating SettingOverrideDecorator settings
...
A deepcopy of a SettingOverrideDecorator also creates a deepcopy of a SettingContainer. This SettingContainer has the same id as the original, which makes CuraContainerStack.replaceContainer reject the new SettingContainer.
2018-03-23 16:10:02 +01:00
Lipu Fei
fd2abdd9fb
Merge pull request #3507 from guillemavila/Copy-all-values-to-all-extruders
...
add Copy all values to all extruders
2018-03-22 16:16:30 +01:00
Guillem
fecbf82551
Replace all user changed values
...
Removed check to change the values only if they were different
2018-03-22 15:49:30 +01:00
Jack Ha
c2888529cb
CURA-5128 cleanup .gz and only leave .gcode.gz as Cura and Uranium now accept extensions with multiple periods
2018-03-22 14:35:21 +01:00
Guillem
01ec20f5ce
Fixed docs, removed todo, changed way to get extruder stacks, slightly faster
2018-03-22 11:39:42 +01:00
Mark
e2478b636a
Typo
2018-03-22 09:49:22 +01:00
Lipu Fei
ce0e3f89b7
Fix code style and typo
...
CURA-4846
2018-03-22 09:42:14 +01:00
Aleksei S
47417c86a3
Rename method name
...
CURA-4846
2018-03-21 17:25:23 +01:00
Aleksei S
feb59f2531
Merge branch 'master' of github.com:Ultimaker/cura
2018-03-21 17:22:24 +01:00
Aleksei S
4fa195894d
Fix: After reloading merged models they do not update origin position
...
CURA-4846
2018-03-21 17:21:11 +01:00
Diego Prado Gesto
5e3cf92197
CURA-5134 Add funtionality to lazily remove plugins
2018-03-21 16:57:48 +01:00
Mark
f9e5f58240
Merge branch 'master' of github.com:Ultimaker/Cura
2018-03-21 10:26:34 +01:00
Mark
46e53ff0c3
Clarify text
...
CURA-4833
2018-03-21 10:26:23 +01:00
Ian Paschal
9dc50ec73f
CURA-4400 Apply correct shader to grouped nodes
2018-03-20 16:54:34 +01:00
Ghostkeeper
f15eb4be2d
Merge branch 'feature_custom_gcode_commands'
2018-03-20 13:44:23 +01:00
Jaime van Kessel
e0bb365e8c
Merge branch 'feature_gzgcode_writer' of github.com:Ultimaker/Cura
2018-03-20 13:32:25 +01:00
Jack Ha
a2b03a2ac1
CURA-4400 fix setting extruders_enabled_count so print_sequence for Custom FDM printer is available again
2018-03-20 13:30:48 +01:00
Lipu Fei
f97e615634
Fix file name update
...
CURA-5122
2018-03-20 11:30:06 +01:00
Ian Paschal
d7b0f11ddf
CURA-4400 Fixed project loading
...
"enabled" metadata is now read from saved projects (.3mf)
2018-03-20 11:17:39 +01:00
Ian Paschal
19792fc1a6
Merge pull request #3524 from fieldOfView/fix_support_eraser_grouping
...
Fix support eraser grouping
2018-03-20 09:48:10 +01:00
fieldOfView
d123efd3eb
Fix loading parented objects from 3mf files
2018-03-19 18:25:40 +01:00
fieldOfView
5a9bcf446e
Do not select parented nodes when selecting all
2018-03-19 17:52:40 +01:00
Diego Prado Gesto
c712cbb664
Merge branch 'master' of github.com:Ultimaker/Cura
2018-03-19 17:26:51 +01:00
Diego Prado Gesto
51e7a18d1c
Add high level functions for setting the variant, material and quality
...
using the name, id and quality_type respectively.
2018-03-19 17:25:49 +01:00
Guillem
faf8ed3ba6
Replace only user changed values
...
removed machine_settings and settable_per_extruder_check. Not needed.
2018-03-19 14:57:31 +01:00
fieldOfView
91e1ae69ec
Don't reparent nodes that are children of a selected node when grouping selection
2018-03-19 14:35:08 +01:00
Guillem
18fba5b529
Avoid replacing machine_settings and not settable_per_extruder settings
2018-03-19 14:21:45 +01:00
Lipu Fei
f0dc138b37
Fix visibilty preset update
...
CURA-5088
2018-03-19 14:14:22 +01:00
fieldOfView
e861a8a112
Add children to correct buildplate when multiplying
2018-03-19 12:32:52 +01:00
Lipu Fei
b13bfaa8e1
Rename setVariantGroup() -> setVariant()
...
There is no such thing as VariantGroup.
2018-03-19 12:27:15 +01:00
Lipu Fei
4a0b3ace9e
Fix missing getExtruderPositionValueWithDefault() error
...
PerObjectContainerStack was not a PerObjectContainerStack so it didn't
have getExtruderPositionValueWithDefault(), and this will break SliceInfo.
2018-03-19 12:23:42 +01:00