Commit Graph

19109 Commits

Author SHA1 Message Date
enricoturri1966
d5a02e617a Partial revert of 7e5c214b91 to restore code mistakenly removed and needed when tech ENABLE_WORLD_COORDINATE is disabled
Fixed conflicts during rebase with master
2022-06-02 12:58:35 +02:00
enricoturri1966
856e0caea6 Tech ENABLE_WORLD_COORDINATE - Fixed rotation in local coordinate for single instance selection
Fixed conflicts during rebase with master
2022-06-02 12:27:49 +02:00
Lukáš Hejl
43f2018062 Merge branch 'lh_locales' 2022-06-02 12:23:47 +02:00
enricoturri1966
f89a902bbb Tech ENABLE_WORLD_COORDINATE - Fixed translation in local coordinate for single instance selection
Fixed conflicts during rebase with master
2022-06-02 12:23:01 +02:00
enricoturri1966
ca5c04bab2 Tech ENABLE_WORLD_COORDINATE - Modified method Selection::requires_uniform_scale()
Fixed conflicts during rebase with master
2022-06-02 12:13:52 +02:00
Lukáš Hejl
6bdaf0eaec Follow-up of a47446574e - Disable tbb::task_scheduler_observer in TBBLocalesSetter destructor.
The base class wasn't disabling observing when tbb::task_scheduler_observer was destructed, which leads to undefined behavior.
2022-06-02 12:13:45 +02:00
enricoturri1966
6433d3af91 Tech ENABLE_WORLD_COORDINATE - Fixed volumes rotation in world coordinate
Added sub-tech ENABLE_WORLD_COORDINATE_VOLUMES_LOCAL_OFFSET which enable showing world coordinates of volumes' offset relative to the instance containing them

Show 'Drop to bed' button in sidebar whenever the selected instance or volume is not laying on the printbed

Fixed conflicts during rebase with master
2022-06-02 12:07:00 +02:00
enricoturri1966
b2a7c84c85 Tech ENABLE_WORLD_COORDINATE - Fixed gizmo Scale in world coordinates
Fixed conflicts during rebase with master
2022-06-02 11:34:53 +02:00
enricoturri1966
c4ad8bc41a Other refactoring plus some fixes into GLGizmoScale3D
Fixed conflicts during rebase with master
2022-06-02 11:29:47 +02:00
enricoturri1966
4946466633 Fixed color of the line connecting the grabbers while hovering one grabber and pressing CTRL key in Gizmo Scale 2022-06-02 11:27:27 +02:00
enricoturri1966
d50ce6c69c Another small refactoring into GLGizmoScale3D
Fixed conflicts during rebase with master
2022-06-02 11:27:09 +02:00
enricoturri1966
567162a647 Refactoring into GLGizmoScale3D
Fixed conflicts during rebase with master
2022-06-02 11:25:03 +02:00
enricoturri1966
e76b5875b7 Tech ENABLE_WORLD_COORDINATE - Fixed Move and Rotate Gizmo size when the selected instance is scaled
Fixed conflicts during rebase with master
2022-06-02 11:20:09 +02:00
enricoturri1966
30a0246610 Tech ENABLE_WORLD_COORDINATE - Fixes in Gizmo Move behavior
Fixed conflicts during rebase with master
2022-06-02 11:08:37 +02:00
enricoturri1966
bd58b1c1c5 Fixed build when tech ENABLE_WORLD_COORDINATE is disabled
Fixed conflicts during rebase with master
2022-06-02 10:57:33 +02:00
tamasmeszaros
345ee7cf28 Let's not call yield in PlaterWorker
Not worth the risk, needs further investigation
2022-06-02 10:55:59 +02:00
enricoturri1966
e89dc34b3a Tech ENABLE_WORLD_COORDINATE - Fixed drop to bed button behavior 2022-06-02 10:50:36 +02:00
enricoturri1966
c968ba05fb Tech ENABLE_WORLD_COORDINATE - Resize Move and Rotate gizmos in dependence of the selected coordinate system
Fixed conflicts during rebase with master
2022-06-02 10:50:22 +02:00
enricoturri1966
ca5742c401 Tech ENABLE_WORLD_COORDINATE - Gizmo rotate oriented in dependence of the selected coordinate system
Fixed conflicts during rebase with master
2022-06-02 10:16:07 +02:00
enricoturri1966
61e7eb4ade Tech ENABLE_WORLD_COORDINATE - Modified text of tooltips for Gizmo Move
Fixed conflicts during rebase with master
2022-06-02 09:08:24 +02:00
enricoturri1966
51e80f7049 Fixed syntax error introduced with 116f928903
Fixed conflicts during rebase with master
2022-06-02 09:02:20 +02:00
enricoturri1966
ebe411aefb Tech ENABLE_WORLD_COORDINATE - 1st installment
1) Added combo to select world/local coordinate to part manipulator in sidebar

2) Gizmo move oriented in dependence of the selected coordinate system

3) Sidebar hints for position oriented in dependence of the selected coordinate system

Fixed conflicts during rebase with master
2022-06-02 08:57:07 +02:00
Lukáš Hejl
da6170d721 Merge branch 'lh_ini_null_chars' 2022-06-02 08:30:11 +02:00
Lukáš Hejl
11f6c67e7c Added detection for corrupted PrusaSlicer.ini and fixed showing instructions on how to recover from it (#8217).
Previously when PrusaSlicer.ini was just partly corrupted, it could happen that PrusaSlicer.ini wasn't detected as corrupted, and it could cause that instruction on how to recover from this state wasn't shown, and PrusaSlicer crashed because wrong data from PrusaSlicer.ini was read.
2022-06-02 08:20:11 +02:00
Lukáš Hejl
6c86d7dfd8 Merge branch 'lh_locales' 2022-06-01 21:19:50 +02:00
Lukáš Hejl
a47446574e Sets locales before any thread start participating in the GCode processing pipeline.
Locales should be set once per any participating threads in tbb::parallel_pipeline.
It should fix the issue with appearing comma instead of the decimal point in generated Gcode.
2022-06-01 21:18:52 +02:00
Lukáš Hejl
2319c31ca5 Merge branch 'lh_lightning_infill_anchors' 2022-06-01 21:14:28 +02:00
Lukáš Hejl
e967d10788 Added anchors for the Lightning infill to better connect the infill and perimeters. 2022-06-01 21:13:03 +02:00
Lukáš Hejl
ae377bd28c Fixed assert in Lightning infill (merging empty BoundingBoxes). 2022-06-01 21:13:03 +02:00
tamasmeszaros
cf16dafad9 Fix PlaterWorker not calling yield from main thread
Also fix UIThreadWorker not setting busy cursor
2022-06-01 15:39:07 +02:00
YuSanka
fe9ad66e84 Disable ENABLE_OBJECT_MANIPULATOR_FOCUS 2022-06-01 11:56:42 +02:00
enricoturri1966
4dee789e9e Follow-up of b00c550463 - More robust fix for: Do not show legend and bottom slider when loading an invalid gcode file into GCodeViewer 2022-05-31 08:39:15 +02:00
enricoturri1966
e8753ee8cd Tech ENABLE_COPY_CUSTOM_BED_MODEL_AND_TEXTURE - 1st installment - Copies custom bed texture and model files to 'data_dir()\printer' folder, if needed, and updates the printer config accordingly
Fixed conflicts after rebase with master
2022-05-30 11:28:54 +02:00
tamasmeszaros
78124689c5 Fix excessive uptates to UI in sla rotation optimization 2022-05-30 11:17:34 +02:00
tamasmeszaros
4326e083eb Fix sla rotation gizmo menu not being remembered 2022-05-30 11:15:23 +02:00
tamasmeszaros
c5e3a56511 Further fix to is_idle() and rethrow unhandled exception after finalize
In UIThreadWorker
2022-05-30 10:01:47 +02:00
tamasmeszaros
6ab8e3a138 Fix id_idle() for UIThreadWorker 2022-05-27 16:09:32 +02:00
enricoturri1966
b00c550463 Do not show legend and bottom slider when loading an invalid gcode file into GCodeViewer 2022-05-27 15:55:25 +02:00
tamasmeszaros
6c284882ba Fix cancellation from UI for UIThreadWorker 2022-05-27 15:54:26 +02:00
tamasmeszaros
9892893587 Add UIThreadWorker for debugging and profiling purposes 2022-05-27 15:33:03 +02:00
Lukáš Hejl
a115702289 Ignore CLion IDE files in all subdirectories. 2022-05-27 13:22:08 +02:00
MarkMan0
4e3369bbfc Improve Proton X profiles, Add Proton XE-750 printer 2022-05-26 16:04:26 +02:00
enricoturri1966
1b09628b0d #8332 - File association on Windows: reimplemented to allow setting PrusaSlicer as default application for .3mf and .stl files and GCodeViewer as default application for .gcode files 2022-05-25 13:14:33 +02:00
enricoturri1966
fcd3966a5b Fixed crash when opening the preference dialog in GCodeViewer 2022-05-25 11:01:48 +02:00
enricoturri1966
ed482316ee Revert of 39cefdad89 2022-05-25 09:36:52 +02:00
enricoturri1966
6047eec609 When, on Windows, the application tries to automatically switch to MESA OpenGL library and the system opengl32.dll is not unloaded, prompt the user with a dialog asking to rerun using the --sw-renderer option 2022-05-24 10:20:02 +02:00
tamasmeszaros
f8ec5fc9e7 Revert CMAKE_FIND_PACKAGE_PREFER_CONFIG as its from cmake > 3.13
Do the overriding in the appropriate find modules in cmake/modules
2022-05-23 10:55:23 +02:00
enricoturri1966
6365e54b1f Fixed loading of 3mf files containing single volume instances where the volume is shifted with respect to the instance origin 2022-05-20 10:39:51 +02:00
Lukáš Hejl
fe16fb41dd Merge branch 'lh_lightning_infill_fix' 2022-05-19 15:17:04 +02:00
Lukáš Hejl
1582d019fb Fixed another crash in Lightning infill. 2022-05-19 15:16:30 +02:00