361 Commits

Author SHA1 Message Date
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
YuSanka
ecc3211c18 ObjectList: Add "Text" marker only where it's needed 2023-01-18 20:20:23 +01:00
tamasmeszaros
76d0e11699 Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-18 16:40:12 +01:00
Filip Sykala - NTB T15p
4d108d84a2 Fix for start with feature on linux platform 2023-01-18 09:18:48 +01:00
Filip Sykala - NTB T15p
96519bf259 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-17 15:25:06 +01:00
Filip Sykala - NTB T15p
6da3c5799c Grayed hint text after open font list 2023-01-17 15:25:00 +01:00
YuSanka
70ec644ad4 Simple mode: Emboss related improvements:
* Deleted "Add text part/negative volume" items from context menu
* Disable menu item "Split to parts" for object's context menu
* "T"-key doesn't cause an adding of the text-part
* Load 3mf by DnD: Add info dialog for a case of "Load geometry"
  + Change No button to Cancel
2023-01-17 15:03:01 +01:00
tamasmeszaros
57bdd8df6f Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-17 14:48:37 +01:00
Filip Sykala - NTB T15p
82c0913ea8 Add Search fot font face names 2023-01-17 12:29:19 +01:00
Filip Sykala - NTB T15p
c2765cbde8 Fix for world transformation of text 2023-01-17 12:27:50 +01:00
Filip Sykala - NTB T15p
dac1e60153 Draw origin position of text during dragging 2023-01-13 14:18:20 +01:00
Filip Sykala - NTB T15p
fbd39e376b Fix current used face name in warning message 2023-01-13 12:31:57 +01:00
tamasmeszaros
fc9b7ed59c Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-13 11:02:06 +01:00
Filip Sykala - NTB T15p
95c6f83b1b Overlap point position with rays inside of Raycast manager
Fix unstability of text origin position when start use surface
2023-01-13 10:02:23 +01:00
tamasmeszaros
bb82ce90c9 Don't allow part type change to modifier type in SLA mode 2023-01-12 19:18:33 +01:00
Filip Sykala - NTB T15p
0bedaa247d Calculate scale of text during drag&drop 2023-01-12 15:27:20 +01:00
Filip Sykala - NTB T15p
095ba5fbe8 Fixed position for adding text on torus with no surface point suggested(without mouse) 2023-01-12 13:34:51 +01:00
Filip Sykala - NTB T15p
16ae960ded Orange border of text multiline for MacOs 2023-01-11 17:58:41 +01:00
Filip Sykala - NTB T15p
8ecce1faba Add confirmation for suggested different font face name. 2023-01-11 17:18:04 +01:00
Filip Sykala - NTB T15p
abc3d52416 Fix set of font for macOs 2023-01-11 16:55:12 +01:00
Filip Sykala - NTB T15p
b46df99d42 Text object has no option to change type in emboss window 2023-01-11 16:30:29 +01:00
Filip Sykala - NTB T15p
d3ee9b37ec Allow move with emboss window 2023-01-11 10:57:44 +01:00
Filip Sykala - NTB T15p
ac7c611755 Fix issue #92 disallow text as modifier in simple mode 2023-01-10 22:19:23 +01:00
Filip Sykala - NTB T15p
8197322249 Remove icons from embossed text type selection 2023-01-10 22:12:54 +01:00
Filip Sykala - NTB T15p
4d12f08da7 Fix imgui font size on scaled objects
issue #96
2023-01-10 21:25:25 +01:00
Filip Sykala - NTB T15p
92f76b8e36 Change emboss UI by @JosefZachar 2023-01-10 19:59:58 +01:00
Filip Sykala - NTB T15p
02c927d285 Add check of face name for same OS 2023-01-10 18:03:06 +01:00
Filip Sykala - NTB T15p
625e2fa25a Fix issue #97
load of style stored in 3mf
2023-01-10 11:48:50 +01:00