Lipu Fei
89cb67017f
Add unit test for addDefaultMachineActions()
...
CURA-5812
2018-10-23 08:49:23 +02:00
Lipu Fei
cbd8c8739d
Merge from master
2018-10-23 08:08:37 +02:00
Lipu Fei
eef7be3ed6
Use empty string for empty build plate
...
CURA-5844
Or there can be a configuration mismatch.
2018-10-22 11:54:13 +02:00
Lipu Fei
97e6354c13
Fix material update upon extruder-compatible diameter change
...
CURA-5834
Material models and the material container on an extruder need to be
updated when the extruder's compatible diameter gets changes.
2018-10-19 13:48:52 +02:00
Lipu Fei
ea10d5e608
Rename to comptabileMaterialDiameter
...
CURA-5834
This property returns the material diameter an extruder is compatible
with, so this makes it more clear.
2018-10-19 11:36:12 +02:00
Lipu Fei
59704e4c0e
Make sure that a machine's default actions are added before it gets activated
...
CURA-5812
2018-10-19 09:58:06 +02:00
Lipu Fei
9b94db8957
Directly use empty containers in MachineManager
...
CURA-5812
Instead of looking up for the empty containers via ContainerRegistry,
import and use them directly.
2018-10-19 09:57:57 +02:00
Ghostkeeper
db0da61506
Forbid interpolation in setting visibility preset files
...
We might use characters that collide with this.
Contributes to issue CURA-5734.
2018-10-18 14:54:20 +02:00
Jaime van Kessel
4c5bf3297c
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-5734-rework-and-unit-test-setting-visibility-preset
2018-10-17 10:49:29 +02:00
Jaime van Kessel
d086e6fa86
Fix review comments
...
CURA-5734
2018-10-17 10:47:34 +02:00
Jaime van Kessel
6eb8b75490
Update typing and fixed the bug it exposes.
2018-10-16 11:31:33 +02:00
Ghostkeeper
7c6970bec3
Merge branch 'feature_firmware_updater' of https://github.com/fieldOfView/Cura into fieldOfView-feature_firmware_updater
2018-10-11 16:42:11 +02:00
Ghostkeeper
4c6744b6fc
Code style: Space around binary operators
...
I just looked for lines with interpolation = None because I was looking for another possible bug, but fixing this in the meanwhile too.
2018-10-10 14:28:50 +02:00
Ghostkeeper
b37252f124
Minor code style fixes
...
Contributes to issue CURA-5734.
2018-10-10 14:18:37 +02:00
Jaime van Kessel
937c2dfa8c
Merge branch 'WIP_kill_extruder_manager' of github.com:Ultimaker/Cura
2018-10-09 11:05:21 +02:00
Ghostkeeper
314b966cc9
Improvements to translated strings
...
These strings were recently found to have been confusing to the translators. Improvements are:
- Pulling the (untranslated) error message out of the message sentence. We really want the error message to be at the end so we'll force the translators to translate it as a prefix.
- Remove extra spaces at the end.
- Remove Python logic from within the i18nc call, since gettext doesn't understand that.
Contributes to issue CURA-5741.
2018-10-08 15:03:21 +02:00
Lipu Fei
7d7de32dbd
Add ExtruderStack to GlobalStack in single extrusion machine fix
2018-10-03 16:53:07 +02:00
Lipu Fei
18cb21186c
Merge remote-tracking branch 'origin/master' into WIP_kill_extruder_manager
2018-10-03 15:45:18 +02:00
fieldOfView
c4919d65f4
Merge branch 'master' into feature_firmware_updater
2018-10-03 14:02:24 +02:00
Jaime van Kessel
dabe747ec0
Merge branch 'CURA-5744-move-oauth-login' of github.com:Ultimaker/Cura
2018-10-03 13:25:09 +02:00
Lipu Fei
b97f4ea30c
Merge remote-tracking branch 'origin/3.5'
2018-10-03 11:49:38 +02:00
Lipu Fei
c3e7e426ff
Fix getDefaultVariantNode for UM2
...
CURA-5790
UM2 has optional variant which depends on whether Olsson Block is
enabled. getDefaultVariantNode() should take that into account.
2018-10-03 11:24:27 +02:00
Diego Prado Gesto
c0c66649b8
Merge branch '3.5'
2018-10-02 20:27:18 +02:00
Jaime van Kessel
4def636fc9
Minor codecleanup (Typing & removing unused imports)
...
CURA-5734
2018-10-01 14:54:08 +02:00
Jaime van Kessel
edb5de9954
Added unit test for settingvisibility presets
...
CURA-5734
2018-10-01 14:50:53 +02:00
Jaime van Kessel
fc9f05fc8b
Moved SettingVisibilityPreset loading to it's own class
...
Since there was so much debate regarding the unit testing of the visiblity presets, i had another look at it.
The old version was almost untestable because all functionalities were mushed together into a single class.
CURA-5734
2018-10-01 11:32:55 +02:00
Lipu Fei
f69005fef9
Rename to CuraFormulaFunctions
...
to avoid confusion with "SettingFunction" in Uranium.
2018-10-01 11:24:34 +02:00
fieldOfView
09742f0cf5
Simplify code
2018-09-28 13:09:59 +02:00
fieldOfView
a12c0e8d9e
Remove superfluous import
2018-09-28 11:51:33 +02:00
fieldOfView
bc52830c89
Move getDefaultFirmwareName() into GlobalStack
2018-09-28 11:49:00 +02:00
fieldOfView
9a98341bda
Fix code-style and typing
2018-09-28 11:38:42 +02:00
fieldOfView
7c23a4e187
Merge branch 'master' into feature_firmware_updater
2018-09-28 11:32:28 +02:00
Jaime van Kessel
3b70e5eb6b
Fix typing
...
For some reason, my MyPy started acting up once I started using the PythonPath while calling it.
2018-09-27 20:01:55 +02:00
Jaime van Kessel
f585afe77b
Fix spacing
2018-09-27 17:31:45 +02:00
Lipu Fei
329b38663e
Fix code style
2018-09-27 11:44:10 +02:00
Lipu Fei
b1198ee1b8
Remove an if-else block that assumes no ExtruderStack
...
There is always an ExtruderStack, so the else-block will never be
executed.
2018-09-27 11:44:10 +02:00
Lipu Fei
3c8368827b
Remove unused functions in ExtruderManager
2018-09-26 17:04:15 +02:00
Lipu Fei
7a681a2ae4
Move Cura custom setting functions to a separate file
2018-09-26 16:54:00 +02:00
Lipu Fei
91bcfb9445
Take in account extruders that haven't been loaded yet
...
CURA-5751
2018-09-25 15:29:31 +02:00
Diego Prado Gesto
e31f35ec95
Merge branch '3.5'
2018-09-25 09:36:08 +02:00
Lipu Fei
fe8aa02e7c
Fix a direct signal emission that causes max recursion error
...
CURA-5682
A max recursion error will occur when the user creates a material on the
material management page. Too many signals get directly triggered and
some of them head back again and causes a max recursion error.
2018-09-24 11:44:55 +02:00
Lipu Fei
3b62284276
Merge remote-tracking branch 'origin/3.5'
2018-09-18 16:15:55 +02:00
Diego Prado Gesto
e28b662649
Clean up the code a bit and update comments.
...
Contributes to CURA-5736.
2018-09-18 16:04:31 +02:00
Lipu Fei
9924e3e26c
Remove duplicated code
...
CURA-5735
2018-09-18 15:08:55 +02:00
Lipu Fei
ddc5d983a1
Fix single extrusion machines without an ExtruderStack
...
CURA-5736
2018-09-18 13:35:25 +02:00
Ghostkeeper
9e21af65b4
Merge branch '3.5'
2018-09-17 10:54:44 +02:00
Ghostkeeper
8a94042a1f
Fix icon name role
...
The icons were not displaying in the context menu of the settings.
2018-09-17 10:51:56 +02:00
Ghostkeeper
a870060a34
Remove unused parameter
2018-09-14 17:00:55 +02:00
Ghostkeeper
e9ac0e5564
Merge branch '3.5'
2018-09-14 12:41:35 +02:00
Ghostkeeper
fb9c21e914
Fix imports
2018-09-14 12:41:03 +02:00