Commit graph

388 commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
970cbbd132 fix transparent icon 2023-02-24 14:27:51 +01:00
Filip Sykala - NTB T15p
9d88830365 Separate icon manager. Create well public interface for future work and improve 2023-02-24 13:31:20 +01:00
Filip Sykala - NTB T15p
870561469f fix 2023-02-24 11:47:44 +01:00
Filip Sykala - NTB T15p
ce3785fdb1 Search input not change case of letter. 2023-02-24 11:45:24 +01:00
Filip Sykala - NTB T15p
42857d8ecb Use already existing AABB trees for cast into scene.
Remove dependency on camera for RayCastManager.
2023-02-21 16:38:39 +01:00
Filip Sykala - NTB T15p
ae75599af0 clean up 2023-02-21 12:32:53 +01:00
Filip Sykala - NTB T15p
ead192b43b calculate angle when set volume 2023-02-20 14:50:17 +01:00
Filip Sykala - NTB T15p
d6b8163975 Fix: drag only by text not by object
Divide set and reset of text volume
2023-02-20 12:52:08 +01:00
Filip Sykala - NTB T15p
4c321cf554 Keep up rotation 2023-02-17 16:49:55 +01:00
Filip Sykala - NTB T15p
e23c89315b Reset for up vector 2023-02-17 14:07:49 +01:00
Filip Sykala - NTB T15p
5be8e41545 Clean up calculation of transformation 2023-02-17 10:13:54 +01:00
Filip Sykala - NTB T15p
b82f1fe818 Move over surface with relative transformation 2023-02-17 08:16:54 +01:00
Filip Sykala - NTB T15p
67155e8da0 RaycastManager use directly AABBMesh instead of MeshRayCaster 2023-02-16 13:09:29 +01:00
Filip Sykala - NTB T15p
6d0d24eecf Get GL volume by volume by selection (not hovered volume) 2023-02-15 11:05:20 +01:00
Filip Sykala - NTB T15p
55d8d153fc Merge branch 'master' into fs_emboss_temp 2023-02-14 20:27:52 +01:00
Filip Sykala - NTB T15p
89ff154f9b temp 2023-02-14 18:16:05 +01:00
Filip Sykala - NTB T15p
f42ae64277 Change Text property after move over surface when world size is changed(re-create text volume).
NOTE: Not intuitive during dragging.
2023-02-14 16:06:59 +01:00
YuSanka
b71e0bfd34 Follow-up 8913fdf6ab
* Deleted/Temporary commented redundant call of app_config->save()
 * Use app_config->get_bool() function on all places
2023-02-13 17:23:49 +01:00
Filip Sykala - NTB T15p
fc9bae667d separate calculation of rotation 2023-02-09 09:12:09 +01:00
Filip Sykala - NTB T15p
040f721873 Fix translation mentioned by issue:
https://github.com/prusa3d/PrusaSlicer/issues/9583
2023-02-07 15:23:08 +01:00
Filip Sykala - NTB T15p
c1b480e57f On rayCast miss add part simillar way as right panel do.
Fix: https://github.com/prusa3d/PrusaSlicer/issues/9611
2023-02-07 12:10:40 +01:00
Filip Sykala - NTB T15p
d6eea1de42 Relative move over surface - Not Work 2023-02-06 10:26:00 +01:00
Filip Sykala - NTB T15p
d63c954247 Add another one clear of search string for font name 2023-02-03 07:51:12 +01:00
Filip Sykala - NTB T15p
66be5faedd Move text only above selected instance. 2023-02-02 14:42:29 +01:00
Filip Sykala - NTB T15p
4b31db5e66 Fix search in font list 2023-02-02 12:36:01 +01:00
Filip Sykala - NTB T15p
d5686a0ecc Fix typo 2023-02-02 09:50:30 +01:00
Filip Sykala - NTB T15p
21ff6bc048 Fix emboss window position when change slicer size 2023-02-02 09:42:30 +01:00
Filip Sykala - NTB T15p
5cc1e4dac0 add missing include 2023-02-02 07:56:38 +01:00
Filip Sykala - NTB T15p
f9b39c0f6f Re-Initialize Emboss GUI configuration on change monitor scale 2023-02-01 17:56:56 +01:00
Filip Sykala - NTB T15p
7ef291d052 Fix gui transformation when change DPI
- initialize m_gui_cfg only when start draw imgui window
2023-02-01 16:01:20 +01:00
Filip Sykala - NTB T15p
d7bd20b957 Fix drag&drop outside of screen 2023-02-01 15:59:39 +01:00
Filip Sykala - NTB T15p
a2fb0c377f Fix unselecting of volume after drag 2023-02-01 12:38:04 +01:00
Filip Sykala - NTB T15p
baa5a011ee Rework dragging over surface to use GlVolume and function do_move
No need for special rendering any more
2023-02-01 11:21:41 +01:00
Filip Sykala - NTB T15p
617c163bd6 Write result transformation into all gl_volumes 2023-01-31 19:23:09 +01:00
Filip Sykala - NTB T15p
b4133fcf96 Remove irrelevant asserts 2023-01-31 18:24:12 +01:00
Filip Sykala - NTB T15p
fbbc5104da Fix emboss window position on open and change minimal size( like open advanced) 2023-01-31 16:57:03 +01:00
Filip Sykala - NTB T15p
53af45a18e Fix minimal height on MacOs 2023-01-31 15:42:47 +01:00
Filip Sykala - NTB T15p
934a79cba2 Fix translation 2023-01-31 15:04:33 +01:00
Filip Sykala - NTB T15p
cfa5a66aa1 Change default emboss font styles pressets for MacOs 2023-01-31 14:08:59 +01:00
Filip Sykala - NTB T15p
bd6bd6ec3d Add checking that wx font face name is setabled(fix for MacOs where default font is not enumerated) 2023-01-31 13:28:52 +01:00
Filip Sykala - NTB T15p
fc3dfdd106 Clear activ id only when it is not same volume
(id could changed)
2023-01-31 12:47:26 +01:00
Filip Sykala - NTB T15p
20529f8cf8 Do not set_volume when same id not pointer 2023-01-31 12:30:48 +01:00
Filip Sykala - NTB T15p
5ded68cab2 Allowe font which are not in allow list 2023-01-31 12:07:57 +01:00
Filip Sykala - NTB T15p
b05312f81d Better set of chnged data 2023-01-31 09:20:31 +01:00
Filip Sykala - NTB T15p
5dd00f792b Fix flickering of rotate gizmo 2023-01-31 09:08:53 +01:00
Filip Sykala - NTB T15p
449267fa47 Improve loading of default styles. Should fix issue on OSx 2023-01-30 17:44:14 +01:00
Filip Sykala - NTB T15p
8cf63bfc94 Add check on cancel for emboss create jobs
Unify finalize part of emboss jobs
2023-01-27 09:29:28 +01:00
Filip Sykala - NTB T15p
fde928b073 Fix uninitialized pointer on volume after undo/redo 2023-01-26 18:00:40 +01:00
Filip Sykala - NTB T15p
baaf2f9f68 Remove unused ability to discard changes and close gizmo 2023-01-26 17:34:07 +01:00
Filip Sykala - NTB T15p
da2dc782ff Fix warnings
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:766:17: warning: unused variable 'window_title' [-Wunused-variable]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:2044:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses]

../src/libslic3r/CutSurface.cpp:1626:25: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
../src/libslic3r/CutSurface.cpp:1627:25: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
../src/libslic3r/CutSurface.cpp:1628:25: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
2023-01-26 17:12:45 +01:00