8896 Commits

Author SHA1 Message Date
Ghostkeeper
64aa977696 Properly update global_only on profile switch
In the setting override model for per-object settings now gets its global_only property also updated on a profile switch. This is needed because the settings also change during a profile switch but the change event is not triggered.

Contributes to issue CURA-458.
2016-02-24 13:05:52 +01:00
fieldOfView
390dc7e2c6 Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1 2016-02-24 00:15:22 +01:00
fieldOfView
de28561152 Remove Profiles from Per Object Settings panel
Also disables Per Object Settings tool button when sidebar is in simple mode.

Contributes to CURA-901
2016-02-24 00:14:54 +01:00
Arjen Hiemstra
a60bfa3d32 Perform creation of top solid layers in a background thread
This way we have a much more responsive layer view
2016-02-23 17:53:51 +01:00
Ghostkeeper
b9bc14ea09 Make progress bar determinate when at 100%
This gives the user a better indication that the firmware update is done. The progress bar is still sorta disfunctional, but hey even disabled people are people.

Contributes to issue CURA-440.
2016-02-23 17:27:17 +01:00
Ghostkeeper
abed3d8c7d Make firmware update loading bar indeterminate
There is no real progress to report, so it's actually indeterminate.

Contributes to issue CURA-440.
2016-02-23 17:27:17 +01:00
Ghostkeeper
c41b9fb09a UMO firmware update to detect heated bed
It detects it by virtue of whether the user indicated that the printer has a heated bed during the add printer wizard.

Contributes to issue CURA-440.
2016-02-23 17:27:17 +01:00
Jaime van Kessel
2a938f7504 Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1 2016-02-23 12:55:50 +01:00
Jaime van Kessel
c15709936b Grouping and per object settings now work correctly again 2016-02-23 12:55:41 +01:00
Ghostkeeper
3e4f728281 Merge pull request #638 from Ultimaker/performance_fixes
Performance fixes
2016-02-23 12:31:16 +01:00
Arjen Hiemstra
e6ef4405c3 Replace a bunch of Theme property accessors with getThing calls 2016-02-23 12:24:26 +01:00
Jaime van Kessel
ee1c16d1fc Grouped objects now correctly get per-object settings
Instead of the first object, the group gets the settings.
2016-02-23 11:27:59 +01:00
Ghostkeeper
c50c223124 Rename variable for code style
The code style specifies using lowercase with underscores.

Contributes to issue CURA-864.
2016-02-23 09:38:51 +01:00
Arjen Hiemstra
64977426df Set the right angle for rendering overhang on the outside-volume shader
This prevents us from rendering overhangs with an angle of 90 degrees
2016-02-22 17:01:38 +01:00
Jaime van Kessel
1e7de43934 Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1 2016-02-22 14:59:43 +01:00
Jaime van Kessel
f66a264901 Added more yield thread to prevent GIL lockdown 2016-02-22 14:59:33 +01:00
Ghostkeeper
12bace54b1 Update per-object settings list when a setting changes
The event triggers a refresh of the global_only property. I think it shouldn't affect the computation time too much but it feels sluggish when you change a setting. Does it feel sluggish for you too, reviewer? It has been feeling sluggish for a while so I don't know if that's due to this change.

Contributes to issue CURA-458.
2016-02-22 12:55:10 +01:00
Jaime van Kessel
67db4a4778 Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1 2016-02-19 15:52:52 +01:00
Jaime van Kessel
31ed8400ef Added a bit of error handling 2016-02-19 15:52:36 +01:00
Ghostkeeper
63a8b96049 Make layer processing abort when starting slice
This involved adding an abort flag to the layer processing job, and making the job check back on that flag periodically. If processing a single layer takes forever then it will never stop the job at all, so it assumes that the concurrent programming in Python is Fair.

Contributes to issue CURA-864.
2016-02-19 12:25:47 +01:00
Arjen Hiemstra
40ea87fa05 Properly save setting visibility when auto saving
Contributes to CURA-511
2016-02-17 14:38:38 +01:00
fieldOfView
27062d8e99 Always make sure imported profiles are available for the currently active machine
The profile name of an imported legacy profile gets set in ProfilesModel.importProfile()

Contributes to CURA-874
2016-02-16 21:50:57 +01:00
Jaime van Kessel
5381c9c74b More codestyle changes 2016-02-15 14:28:27 +01:00
Jaime van Kessel
9bf783df4d Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1 2016-02-15 14:18:12 +01:00
Jaime van Kessel
54e5020975 Codestyle fixes 2016-02-15 14:18:01 +01:00
Ghostkeeper
9379b0a97b Update translation from machine name to hex file
There was an incongruence in the translation from the machine name to hex file. Sometimes the machine name was wrong. Sometimes the hex file was wrong.

Contributes to issue CURA-440.
2016-02-12 17:09:42 +01:00
Ghostkeeper
563bd1ddb5 Fix setting for show overhang
For some reason the setting was inverted. Also, someone forgot to take the case into account where the setting exists but is None (which is the case when the setting is False).

Fixes issue CURA-308.
2016-02-12 11:11:44 +01:00
Ghostkeeper
6bcce7ca8e Repair saving to removable drive
Typo. Sorry.

Contributes to issue CURA-611.
2016-02-10 15:05:44 +01:00
Arjen Hiemstra
ac25b1bdaf Always save everything when the change timer timeouts
This prevents issues where certain things were not saved properly

Contributes to CURA-511
2016-02-10 13:55:52 +01:00
Ghostkeeper
edb7803760 Make the machine file types filter optional for OutputDevice
The call to OutputDevice from the save button filters by the file types available to the machine. The call to OutputDevice from the application menu doesn't.

Contributes to issue CURA-611.
2016-02-10 13:39:49 +01:00
Jaime van Kessel
fb598a2444 Operation stopped no longer cause a re-slice.
No idea why this was the case as the result of an operation should decide
if a reslice should be triggered (eg; transformation causes scenechanged to be triggered)
CURA-829
2016-02-10 13:19:12 +01:00
Ghostkeeper
9151740be7 Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1 2016-02-09 18:01:55 +01:00
Ghostkeeper
bc18b078ab Let Removable Drive auto-detect file format from machine
Instead of only writing g-code, the Removable Drive output device will now try to write a file format that the current machine supports. It just picks the first one it finds.

Contributes to issue CURA-611.
2016-02-09 17:57:19 +01:00
Arjen Hiemstra
15aec5914a Use a preference for the autosave delay and reduce it to 10 seconds
It only triggers after we have stopped changing things, so having a
shorter delay is not that dangerous. Using preference as per
@ghostkeeper 's suggestion.

Contributes to CURA-511
2016-02-09 16:26:29 +01:00
Ghostkeeper
5693d639f1 Merge pull request #618 from Ultimaker/feature_profiles
Profiles rework
2016-02-09 09:49:28 +01:00
Ghostkeeper
6e59f49bd5 Fix per-object setting categories hiding when folding them
When the categories were folded closed, they were suddenly hidden because then the settings' height became 0. Now it uses the actual height of the children regardless of whether they are visible or not, which makes them properly remain visible while closed.

Contributes to issue CURA-548.
2016-02-08 16:18:45 +01:00
Ghostkeeper
72125d84bf Fix problem with casting to QVariant
This is a magical fix that Nallath and I found for a problem that shouldn't exist in the first place and sometimes doesn't exist at all and in the same time is a superposition of existing and not existing and it's all very complicated and an extremely weird hack. Casting this object to itself properly makes it castable to QVariant.

Contributes to issue CURA-458.
2016-02-08 15:29:15 +01:00
Arjen Hiemstra
69d8160207 Make sure we properly restart the backend when it quits on itself
This prevents issues where the backend would not properly restart
2016-02-08 13:51:18 +01:00
fieldOfView
6e11c2409b Use working profile instead of "active" profile 2016-02-08 09:20:46 +01:00
fieldOfView
5542073e44 Fix error on profile rename 2016-02-08 09:18:35 +01:00
Arjen Hiemstra
8d2fc1f7e1 Do not close the engine from our side when finished with slicing
The engine will close itself when done. Closing it from our side
actually introduces errors as things can still be busy processing
2016-02-06 18:08:47 +01:00
Jaime van Kessel
ede0cbcfe6 Removed old code in per object settings that caused crash. 2016-02-04 16:04:52 +01:00
Ghostkeeper
a334e8876d Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1 2016-02-04 12:59:29 +01:00
Ghostkeeper
736d04ba8d Fix getting container properties
Due to an optimisation earlier, the model and selected index in the per-object settings panel couldn't be found. This was giving errors and making the per-object settings unusable.

Contributes to issue CURA-458.
2016-02-04 12:33:39 +01:00
Jaime van Kessel
01ecd9357c Max size & value are now set in correct order for layerview
CURA-763
2016-02-04 12:14:59 +01:00
Ghostkeeper
a658140997 Remove more remnants of print sequence message
I found this other place that was helping to display the message that warns that print sequcence is set per-object. Since the latter is no longer possible, this message shouldn't be displayed any more.

Contributes to issue CURA-458.
2016-02-04 12:14:59 +01:00
Ghostkeeper
44872ade43 Remove superfluous warning for printsequence
Print sequence can no longer be chosen per-object, so the warning that displays when you choose print sequence per-object is no longer necessary.

Contributes to issue CURA-458.
2016-02-04 12:08:57 +01:00
Ghostkeeper
bf03d71427 Hide setting if global-only
In the per-object-setting panel, a setting is no longer displayed as settable per-object if it is global-only.

Contributes to issue CURA-458.
2016-02-04 11:43:43 +01:00
Jaime van Kessel
eab378252a Merge branch '2.1' of https://github.com/Ultimaker/Cura into 2.1 2016-02-03 10:27:27 +01:00
Jaime van Kessel
e7ab686318 Increases size of imageload dialog
CURA-266
2016-02-03 10:26:52 +01:00