20 Commits

Author SHA1 Message Date
Ghostkeeper
24ff3692bd
Revert "Use optional last output (file) name from output-dev to set project name."
This reverts commit c2c53d51c1954315324982bd916b8aad5c19946d.
2021-09-10 16:46:53 +02:00
Ghostkeeper
9e2b556ce8
Revert "Only change project name when saving to project files."
This reverts commit b97920e5b155caaab6a8b3bb167853a00ae4b604.
2021-09-10 16:46:39 +02:00
Remco Burema
b97920e5b1
Only change project name when saving to project files.
CURA-8358
2021-09-01 18:11:10 +02:00
Remco Burema
c2c53d51c1
Use optional last output (file) name from output-dev to set project name.
Instead of relying on the filename emitted when the workspace is changed. This is done so the user can also change the project name when saving to an output device, such as a local file, or the digital library, that supports changeing the (file)name.

CURA-8358
2021-09-01 16:04:05 +02:00
Konstantinos Karmas
6ad358a55d Set the job name whenever the workspaceLoaded is called
CURA-8358
2021-08-23 17:07:36 +02:00
Jaime van Kessel
ad8e78c7f8
Remove unused import 2021-03-01 14:32:42 +01:00
Jaime van Kessel
fa4d1ba1fb
Don't strip accents from job name
No idea why this was there in the first place. Our archeology attempts couldn't
find out as to why it was introduced. We suspect an issue with other Qt versions.

At least now ロボット.stl will not be mangled into ロホット.gcode upon saving (and
german bears into bars)
2021-02-26 14:56:27 +01:00
Jaime van Kessel
7f27ff5432
Reset scene metadata if the buildplate was cleared
CURA-7615
2020-12-23 14:08:59 +01:00
Ghostkeeper
4372099e1d
Don't crash if material preferences are corrupt
This time we don't need to catch permission errors and such since we're reading it from a string that was stored in memory (read when the preferences file was read). However we do need to catch JSON Decoding Errors since the JSON syntax might be broken by the user modifying these files or because the file wasn't saved properly before.

Fixes Sentry issue CURA-112.
2020-07-13 11:45:16 +02:00
Nino van Hooff
816aaafc19 Revert changes for CURA-5479
It was decided that functionality present in existing plugins is
sufficient. No need to replicate it in our own codebase and
take on the burden of maintenance

CURA-5479
2020-07-07 16:11:03 +02:00
Nino van Hooff
06284b6a73 Implement Review comments
CURA-5479
2020-07-01 16:47:20 +02:00
Nino van Hooff
24820bab07 Fix: incorrect return statement
CURA-5479
2020-07-01 15:00:35 +02:00
Nino van Hooff
c50f7aa455 Add a print job name setting to general preferences
CURA-5479
2020-06-30 17:04:03 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
c2c96faf5f Convert remaining doxygen to rst 2020-05-28 17:13:44 +02:00
Jaime van Kessel
5da77472e7
Add some timers to sceneChanged 2020-01-03 10:17:54 +01:00
Tim Kuipers
96f8dab853 dont prepend 'Pre-sliced file' 2019-10-31 11:43:26 +01:00
Jaime van Kessel
0ff9d72c4c
Remove use of deprecated extruders property 2019-09-13 17:27:16 +02:00
Diego Prado Gesto
11e86512cb Include the prime tower to the time calculations
Contributes to CURA-6509.
2019-05-06 14:33:24 +02:00
Lipu Fei
5848174ad4 Move PrintInformation into cura.UI module 2019-03-20 09:13:38 +01:00