403 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
49bd17a0af Less agressive warning about bad visualization inside of text input 2023-03-08 15:10:36 +01:00
Filip Sykala - NTB T15p
08b8bc447a Merge branch 'master' into fs_emboss 2023-03-02 14:25:18 +01:00
Filip Sykala - NTB T15p
191f670dbd Volume do not store angle of text any more.
(it is stored inside of volume transformation and si calculated on the fly)
2023-03-02 14:25:06 +01:00
Filip Sykala - NTB T15p
4c3ac0d977 Disable setting font pixel size into wxFont
Do not keep wxFont inside of optional
2023-03-01 15:05:38 +01:00
YuSanka
e09bdef952 Fix for SPE-1543 - "T"- key add text to cut object with plugs/dowels 2023-03-01 12:22:52 +01:00
Filip Sykala - NTB T15p
a8c580c957 Move function is_font_changed into EmbossStyleManager 2023-02-28 17:03:38 +01:00
Filip Sykala - NTB T15p
ef6ed9708e hide choose SVG file 2023-02-28 16:38:28 +01:00
Filip Sykala - NTB T15p
4f2cf00323 Hide execute job 2023-02-28 16:35:00 +01:00
Filip Sykala - NTB T15p
b7f4159d57 extend functionality of surface drag 2023-02-28 16:17:09 +01:00
Filip Sykala - NTB T15p
a1a57eb61c Separate drawing of cross hair 2023-02-28 15:24:33 +01:00
Filip Sykala - NTB T15p
6b2c834466 Fix:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3076:44: warning: braces around scalar initializer [-Wbraced-scalar-init]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3693:74: warning: suggest braces around initialization of subobject [-Wmissing-braces]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:461:13: warning: unused function 'calc_mouse_to_center_text_offset' [-Wunused-function]

../src/slic3r/GUI/Gizmos/GLGizmoEmboss.hpp:165:12: note: forward declaration of 'Slic3r::GUI::GLGizmoEmboss::GuiCfg'
2023-02-28 11:17:32 +01:00
Filip Sykala - NTB T15p
b5ec9ad882 Merge branch 'master' into fs_emboss 2023-02-28 10:17:04 +01:00
Filip Sykala - NTB T15p
e86dff528d Separate drag manager 2023-02-28 09:17:25 +01:00
YuSanka
b767c76adb Localization: Updated POT 2023-02-27 10:07:45 +01:00
Filip Sykala - NTB T15p
4d0b8679eb Move functionality from emboss gizmo into icon manager 2023-02-24 16:03:55 +01:00
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