Diego Prado Gesto
8ad409ff55
Merge branch 'master' into WIP_improve_initialization
2018-05-14 15:15:02 +02:00
Diego Prado Gesto
43657010ba
CURA-5164 The Preferences is not a singleton class anymore since in some point
...
several instances need to be created.
- In the ThreeMFWorkspaceReader we need to create some temporal
instances of Preferences that makes it not singleton anymore.
- The current preferences are kept in the Application class and so all
the calls to the preferences are changed to get the preferences from
Application.
- The method getInstance in Preferences is kept as deprecated since some
external plugins.
2018-05-11 08:50:42 +02:00
Diego Prado Gesto
a6676fb477
Merge branch 'master' of github.com:Ultimaker/Cura
2018-05-07 12:57:33 +02:00
Diego Prado Gesto
b576423747
Adapt ovewritten method signature
2018-05-07 11:49:30 +02:00
Jack Ha
467e814f88
Merge branch 'master' of github.com:Ultimaker/Cura
2018-05-07 10:30:50 +02:00
Jack Ha
00d8427e42
Add sanity check for GlobalStack CURA-5045
2018-05-07 10:30:45 +02:00
Lipu Fei
051dd7a6e9
WIP: Make application initialization and start up more clear
...
- Create SingleInstance class to handling single instance stuff.
- Instead of calling getInstance() everywhere, initialize each object
explicitly in order when application starts and getInstance()s do not
create instances any more and they merely return the created
instances.
- Only set initial values in construtor functions __init__(). Move the
initialization of context-aware (i.e. things that depend on other
things) to separate functions.
- Split application creation and initialziation into several steps and
them should be called explicitly in the correct order.
2018-05-04 09:57:02 +02:00
Jaime van Kessel
7c80bc203c
Fixed bunch of wrong / missing typing
2018-05-03 21:14:06 +02:00
Lipu Fei
9a5fb47a6e
Merge master into material marketplace
2018-05-01 11:56:34 +02:00
Diego Prado Gesto
27b1e2cdd6
Fix format and add error message to log. Contributes to CURA-5301
2018-04-26 15:49:18 +02:00
Jack Ha
efdccb593f
Merge branch '3.3'
2018-04-25 16:35:20 +02:00
Lipu Fei
df1e15b1e5
Move the definition_changes fix to CuraContainerStack
...
CURA-5281
2018-04-25 16:12:47 +02:00
Lipu Fei
ec9be7a103
Merge remote-tracking branch 'origin/3.3'
2018-04-25 12:55:21 +02:00
Lipu Fei
1d8c2bea98
Do not reset quality if the current custom quality is based on not supported
...
CURA-5285
2018-04-25 12:40:10 +02:00
Lipu Fei
c4994918c8
Make sure all stacks in a loaded machine have non-empty definition_changes container
...
CURA-5281
2018-04-25 11:16:02 +02:00
Ghostkeeper
4fc29554ef
Don't process inheritance before there is an active global container
...
This could be called after an extruder was disabled by a broken configuration.
Fixes #3570 .
2018-04-25 09:59:25 +02:00
Ghostkeeper
5648bc82e7
Merge branch '3.3'
2018-04-23 14:07:46 +02:00
Diego Prado Gesto
b8a26f3187
CURA-5218 Disable the Activate and Duplicate button in the management
...
page if the selected profile is not supported
2018-04-20 17:04:51 +02:00
Lipu Fei
53495604f8
Merge remote-tracking branch 'origin/feature_show_config_errors'
2018-04-19 15:38:29 +02:00
Lipu Fei
db5c18295b
Merge remote-tracking branch 'origin/3.3'
2018-04-19 09:20:22 +02:00
Lipu Fei
372419c223
Fix fallback quality setting
...
CURA-5218
2018-04-18 11:24:09 +02:00
Lipu Fei
650638fcdd
Fix setting default quality
...
CURA-5218
2018-04-18 11:20:43 +02:00
Lipu Fei
7326ee8c40
Fix typo
...
CURA-5218
2018-04-18 11:19:04 +02:00
Lipu Fei
bae1d2a59d
Switch to a default quality if the specified is not available
...
CURA-5218
2018-04-18 11:16:19 +02:00
Lipu Fei
7b20ce856e
Fix merge conflicts
2018-04-17 11:30:23 +02:00
Ghostkeeper
133f6f43fe
Merge branch '3.3'
2018-04-13 16:14:23 +02:00
Ghostkeeper
942afe2c3f
Merge branch '3.3' into feature_show_config_errors
2018-04-12 16:20:42 +02:00
Lipu Fei
7eba73adc5
Handle excluded_materials in getAvailableMaterials()
...
CURA-5223
Move the handling of excluded_materials into MaterialManager
getAvailableMaterials().
2018-04-12 16:12:07 +02:00
Lipu Fei
6d2e49c228
Merge remote-tracking branch 'origin/3.3'
2018-04-12 14:04:29 +02:00
Lipu Fei
33949c3b71
Update build plate compatibility upon extruder enabled/disabled
...
CURA-5219
2018-04-12 14:02:56 +02:00
Lipu Fei
1c4c3a4a0b
Fix quality changes that are based on no-long-available quality_type
...
CURA-5218
2018-04-12 13:58:20 +02:00
Lipu Fei
8d3c3c0e80
Fix the case that a quality_type is not available
...
CURA-5218
2018-04-12 13:58:20 +02:00
Lipu Fei
b55570f3fb
Merge branch '3.3'
2018-04-10 13:13:38 +02:00
Lipu Fei
b314d2bbe2
Fix extruder nr handling for -1 Not Overriden
...
CURA-5213
2018-04-10 12:56:20 +02:00
Lipu Fei
4615c756a7
More clear error handling for container deserialization
...
CURA-5045
- If a container cannot be deserialized in project loading, it should fail
right on the spot because even if it continues, it still won't work.
- In other places, at least log deserialization errors if any of them show
up.
2018-04-09 14:51:05 +02:00
Ghostkeeper
572721e20d
Catch ContainerFormatError when deserialising containers
...
Only the deserialize() functions themselves may pass the ContainerFormatError on, because their callers will have to handle those errors anyway.
Contributes to issue CURA-5045.
2018-04-06 13:26:16 +02:00
Lipu Fei
e36ef583b7
Minor changes and cleanup
2018-04-05 15:14:15 +02:00
Lipu Fei
19bc2b78f4
Add Version upgrade 3.3 to 3.4
...
Need to distinguish between quality and quality_changes in the cura directory,
so we need to move all custom quality profiles into the quality_changes directory.
2018-04-05 15:14:15 +02:00
Lipu Fei
c3fe53123b
Create module cura.ReaderWriters
...
CURA-4644
Move all reader writer classes into cura.ReaderWriters.
2018-04-05 15:14:15 +02:00
Aleksei S
720a85dd06
Remove comment
...
CURA-4844
2018-03-29 14:31:25 +02:00
Aleksei S
c81d5d9741
Merge branch 'master' of github.com:Ultimaker/cura
2018-03-29 11:54:43 +02:00
Aleksei S
290adbd906
Fix: bed leveling for UM+
...
CURA-4844
2018-03-29 11:53:31 +02:00
Jack Ha
c9dc429b2b
CURA-5045 solve merge conflicts
2018-03-29 09:22:19 +02:00
Diego Prado Gesto
acff530871
CURA-5169 Fix a typo
2018-03-28 15:54:42 +02:00
Lipu Fei
9efad28599
Fix setQualityChangesGroup when quality_type is not_supported
...
CURA-5169
2018-03-28 12:55:43 +02:00
Lipu Fei
e3c578aa18
Revert "Use global_stack.extruders instead of ExtruderManager.extruderIds"
...
CURA-5168
Causes side effects.
2018-03-28 12:18:01 +02:00
Lipu Fei
90d2c29fb4
Use global_stack.extruders instead of ExtruderManager.extruderIds
...
CURA-5168
We want to remove ExtruderManager eventually, and keeping two separate
pieces of data can cause it to be out of sync.
2018-03-28 12:12:49 +02:00
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
Lipu Fei
f15771856f
Add parent for stacks and containers that are created
2018-03-27 15:03:11 +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