Commit Graph

19104 Commits

Author SHA1 Message Date
enricoturri1966
65adbd5b0d Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Volumes rotation in all reference systems using Rotate gizmo and part manipulator fields
Fixed conflicts during rebase with master
2022-06-02 16:03:27 +02:00
enricoturri1966
5767feecab Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Attempt to fix build on non-Windows OSs 2022-06-02 15:45:21 +02:00
enricoturri1966
5e5fdc4844 Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Volumes translation in all reference systems using Move gizmo and part manipulator fields
Fixed conflicts during rebase with master
2022-06-02 15:45:06 +02:00
enricoturri1966
4f1df27309 Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Modified part manipulation fields to show the proper values in dependence of the selected reference system 2022-06-02 15:06:15 +02:00
enricoturri1966
fdc8a51d3c Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - Fixed orientation for sidebar hints in 3D scene for part manipulation in instance and local systems
Fixed conflicts during rebase with master
2022-06-02 15:05:56 +02:00
enricoturri1966
79bdcefbde Tech ENABLE_INSTANCE_COORDINATES_FOR_VOLUMES - 1st installment: introduction of instance reference system in part manipulation
Fixed conflicts during rebase with master
2022-06-02 14:58:44 +02:00
enricoturri1966
679f8b0111 Tech ENABLE_WORLD_COORDINATE - Fixed center of Move and Scale gizmos
Fixed conflicts during rebase with master
2022-06-02 14:20:26 +02:00
Lukáš Hejl
df552a9226 Fixed an undefined symbol when mold linker was used for linking slic3rutils_tests. 2022-06-02 13:47:51 +02:00
enricoturri1966
23b5860e35 Tech ENABLE_WORLD_COORDINATE - Fixed visualization of sidebar hints when editing values in Object manipulation fields while using an MMU printer 2022-06-02 13:39:01 +02:00
enricoturri1966
f944595d3d Tech ENABLE_WORLD_COORDINATE - Fixed constrained scaling of volumes in local coordinates 2022-06-02 13:39:01 +02:00
enricoturri1966
cf90ad699f Tech ENABLE_WORLD_COORDINATE - Fixed unconstrained scaling of volumes in local coordinates
Fixed conflicts during rebase with master
2022-06-02 13:38:47 +02:00
enricoturri1966
9e0bb83041 Follow-up of 9ddf2ba41c - Code cleanup
Fixed conflicts during rebase with master
2022-06-02 13:34:21 +02:00
enricoturri1966
ad6dcf3f10 Tech ENABLE_WORLD_COORDINATE - Fixed constrained scaling of instances in local coordinates
Fixed conflicts during rebase with master
2022-06-02 13:30:23 +02:00
enricoturri1966
4aac01a221 Tech ENABLE_WORLD_COORDINATE - Fixed scaling using the Part Manipulation fields in world coordinates for volumes
Fixed conflicts during rebase with master
2022-06-02 13:26:02 +02:00
enricoturri1966
0eaa4c5dea Tech ENABLE_WORLD_COORDINATE - Fixed unconstrained scaling in world coordinates for volumes
Fixed conflicts during rebase with master
2022-06-02 13:21:24 +02:00
enricoturri1966
9074407196 Follow-up of 86b44b4800 - Constrained uniform scaling in world coordinates for rotated instances 2022-06-02 13:09:43 +02:00
enricoturri1966
1191ab42cb Tech ENABLE_WORLD_COORDINATE - Added constrained uniform scaling in world coordinates for instances
Fixed conflicts during rebase with master
2022-06-02 13:09:30 +02:00
enricoturri1966
d7753fc476 Tech ENABLE_WORLD_COORDINATE - Fixed constrained non-uniform scaling in world coordinates for rotated instances
Fixed conflicts during rebase with master
2022-06-02 13:05:12 +02:00
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