715 Commits

Author SHA1 Message Date
fieldOfView
1848bb5cc4 Fix typo in Changes on the Printer dialog 2016-08-11 16:36:24 +02:00
Arjen Hiemstra
7ba49b4f88 Remove code that is obsolete and moved to ContainerManager
Contributes to CURA-2006
2016-08-10 11:58:40 +02:00
Arjen Hiemstra
578191bb8a Expose a list of all active materials in MachineManager
Contributes to CURA-2006
2016-08-10 10:59:43 +02:00
Arjen Hiemstra
6de7d0170a Expose quality changes id and quality type and make the profile menu work correctly
Contributes to CURA-2006
2016-08-10 10:58:44 +02:00
Arjen Hiemstra
450dcac394 Fix "keep current settings" dialog so it properly clears on "No"
Contributes to CURA-2006
2016-08-10 10:57:42 +02:00
Arjen Hiemstra
e2a4aeb8ff Use the new quality_type when setting the active quality
Contributes to CURA-2006
2016-08-10 10:57:12 +02:00
Arjen Hiemstra
4a02a9d1e3 Fix updating changed state for all stacks
Contributes to CURA-2006
2016-08-04 18:11:36 +02:00
Arjen Hiemstra
324d1415d7 Fix updating active quality
Contributes to CURA-2006
2016-08-04 17:55:16 +02:00
Arjen Hiemstra
d150acb79c Change setActiveQuality to set quality of extruders & global and also set change containers
Contributes to CURA-2006
2016-08-04 17:41:01 +02:00
Arjen Hiemstra
e2045cdb7f Remove obsolete container switcheroo
Contributes to CURA-2006
2016-08-04 17:40:16 +02:00
Arjen Hiemstra
5361efcf2c Return the name/id of the quality changes container if it is set for activeQuality
Contributes to CURA-2006
2016-08-04 17:39:52 +02:00
Arjen Hiemstra
10de07c08e Remove some code that was moved to ContainerManager
Contributes to CURA-2006
2016-08-04 17:39:09 +02:00
Arjen Hiemstra
aa8561fec7 Remove globalPropertyChanged
There should be no need for this if we properly store settings where
they should be stored.

Contributes to CURA-2006
2016-08-04 02:05:12 +02:00
Arjen Hiemstra
d42f390ed6 Add the new empty quality_changes container to new machines
Contributes to CURA-2006
2016-08-04 02:03:57 +02:00
Arjen Hiemstra
ab99100c56 Introduce an empty quality_changes container
Contributes to CURA-2006
2016-08-04 02:02:47 +02:00
fieldOfView
68fc9af4c2 Fix removing extruder stacks and extruder user profile
CURA-1898 broke fix for CURA-1896
2016-08-01 16:38:31 +02:00
fieldOfView
7b873fc397 Fix renaming profiles
CURA-2017
2016-08-01 16:05:57 +02:00
Jaime van Kessel
a1bd8f59ed Slicing no longer occurs when stack is invalid
CURA-1998
2016-07-28 13:14:07 +02:00
Jaime van Kessel
762ea15e78 Global inherited settings now use target (instead of active) stack to copy values
Fixes multiple issues with support settings not being updated properly
2016-07-27 09:54:02 +02:00
Jaime van Kessel
05b2c147e0 Combined material & hotend message
Even if all data is different, the update is correctly handled

CURA-1909
2016-07-26 13:28:53 +02:00
Jaime van Kessel
8540e10469 Updating multiple materials with one message box now works
CURA-1909
2016-07-26 12:10:25 +02:00
Jaime van Kessel
70242ba502 Saving a file no longer causes a re-slice
CURA-1933
2016-07-25 15:44:16 +02:00
Jaime van Kessel
000c4d5f41 Fixed issue where changing a setting would cause mismatch between stacks
CURA-1758
2016-07-25 09:58:33 +02:00
Jaime van Kessel
be252fb84f We now check if a setting can also be removed to get the same state
THis should prevent the reset buttons from showing up when there is nothing going on.

CURA-1758
2016-07-22 15:31:37 +02:00
Jaime van Kessel
83ec6e849a Multiple changes when quality profiles have different values should no longer break the link
CURA-1758
2016-07-22 13:16:35 +02:00
Jaime van Kessel
df46a61d38 Active stack should no longer influence changing of targeted settings
CURA-1758
2016-07-22 11:44:37 +02:00
Jaime van Kessel
cafb46cb1d First container is now updated withouth recursion possible
We now use a set of keys that we are handling in order to prevent the lock

CURA-1758
2016-07-22 10:43:26 +02:00
Jaime van Kessel
8307dba643 Revert "Commented out 2 lines of code that caused issues with reset"
This reverts commit 568d30d17b85dc1fd5bd4ab784e750ac237cdb39. Turned out this causes recursion issue when changing materials
2016-07-22 09:33:44 +02:00
Jaime van Kessel
568d30d17b Commented out 2 lines of code that caused issues with reset
The documentation doesn't mention why the code is there, so i've commented them out for the time beeing

CURA-1758
2016-07-21 21:19:25 +02:00
fieldOfView
caa202e3d6 Make sure values from loaded profile permeate to other stacks
CURA-1758
2016-07-21 15:28:10 +02:00
fieldOfView
a64e0fa8e8 Fix copyValueToExtruders (rebase-accident)
CURA-1758
2016-07-21 15:12:31 +02:00
fieldOfView
baf9d81e47 Massively simplify the strategy
This removes the *_global_variant, *_global_material and *_global_quality profiles and instead uses the same profiles for the global stack as for extrude 0.

CURA-1758
2016-07-21 15:12:31 +02:00
fieldOfView
0857017ac6 Add a context-menu item to copy a value to all extruders.
CURA-1758
2016-07-21 15:12:30 +02:00
fieldOfView
89b601791d Fix possible error when a printer fails to load
CURA-1758
2016-07-21 15:12:30 +02:00
fieldOfView
fa8b58844d Initialise multiextrusion global stacks to new empty profiles
_EmptyInstanceContainer does not allow setting properties and does not emit signals

CURA-1758
2016-07-21 15:12:30 +02:00
fieldOfView
2e75430d0e Update the global container when switching variant/material/quality profiles
CURA-1758
2016-07-21 15:12:29 +02:00
fieldOfView
81f9467ca0 Update the global value when the "global_inherits_stack" value changes
CURA-1758
2016-07-21 15:12:29 +02:00
fieldOfView
16315b6e1d Fix reset value icon on non-per-extruder-settable settings
CURA-1758
2016-07-21 15:12:28 +02:00
fieldOfView
5d613bd22e Make sure _active_container_stack is properly initiated
CURA-1758
2016-07-21 15:12:28 +02:00
fieldOfView
8a6f41d7e7 Initialise multiextrusion global stacks to empty profiles
CURA-1758
2016-07-21 15:12:27 +02:00
fieldOfView
97b3dd8f70 Copy values of global-only setting values to all extruders
CURA-1758
2016-07-21 15:12:25 +02:00
fieldOfView
2387da1a28 Make the global stack value mirror the stack value appropriate for this setting
CURA-1758
2016-07-21 15:12:25 +02:00
Jaime van Kessel
923e4de4ed Stack changes now also ensure that validation state change signal is emitted
CURA-1890
2016-07-20 11:13:24 +02:00
Jaime van Kessel
6249675362 Removed stray debug prints
CURA-1669
2016-07-18 17:18:25 +02:00
Jaime van Kessel
56efb92f3e Added additional decoration to UpdateQualityContainerFromUserContainer
This allows the usage from QML withouth parameters. CURA-1890
2016-07-15 16:04:02 +02:00
Jaime van Kessel
951e7bf629 Refusing to change material actually prevents material from being changed
CURA-1909
2016-07-15 11:40:43 +02:00
Jaime van Kessel
dfd56d049f getActiveExtruderStack now returns stack based on machine_id instead of definiton ID
Contributes to CURA-1898
2016-07-13 13:08:14 +02:00
Jaime van Kessel
726eb97d9f Machine_id instead of definition_id is now used to link extruders
Contributes to CURA-1898
2016-07-13 11:17:44 +02:00
Simon Edwards
642ea6791b When saving the quality profile data, also incorporate any user settings/changes.
Contributes to CURA-1727 GCode Profile reading/writing: Broken and needs update
2016-07-13 09:29:47 +02:00
fieldOfView
08213890fb Remove reliance on "_current_settings" postfix when removing user profile containers
CURA-1896
2016-07-12 13:09:53 +02:00