346 Commits

Author SHA1 Message Date
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
Filip Sykala - NTB T15p
301ccbdc65 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-10 08:36:52 +01:00
Filip Sykala - NTB T15p
2b31fa7d4a More info for user in preview of font in combo box.
+ Clear rest of texture when short text is used
2023-01-10 08:36:33 +01:00
enricoturri1966
bb8a001963 Replace abf918e7281d912f7d432b8fb460f8599b2db604 with a better fix 2023-01-10 08:25:05 +01:00
enricoturri1966
2c02db3514 Tech ENABLE_WORLD_COORDINATE - Fixed size of Rotate Gizmo in 3D scene 2023-01-09 12:25:26 +01:00
Filip Sykala - NTB T15p
09fc025cd5 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-05 19:57:48 +01:00
Filip Sykala - NTB T15p
c01453c2c7 Fix dragging of mirrored object 2023-01-05 12:04:26 +01:00
Filip Sykala - NTB T15p
b08263ffbd Fix translation 2023-01-05 12:04:03 +01:00
enricoturri1966
bf0cef30e0 Fixed build when tech ENABLE_WORLD_COORDINATE is disabled 2023-01-04 15:56:41 +01:00
Filip Sykala - NTB T15p
550ef48fe1 Add function for check whether transformation contain reflection
Extend RayCast hit by square distance
Use distance to distiguish closest place on surface when move origin
Move origin after job (only on success)
2023-01-03 13:24:01 +01:00
Filip Sykala - NTB T15p
b90e109b41 Fix:
../src/slic3r/GUI/GLCanvas3D.cpp:3474:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/GLCanvas3D.cpp:3477:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelVolume*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:249:62: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3603:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
2022-12-21 10:51:02 +01:00
Filip Sykala - NTB T15p
a080e83e88 Put origin on surface when change style 2022-12-20 14:29:42 +01:00
Filip Sykala - NTB T15p
994da70ed3 Fix transformation to closest point 2022-12-19 13:27:11 +01:00
Filip Sykala - NTB T15p
aa97f869e4 Try to find correct font face name in list 2022-12-19 10:54:21 +01:00
Filip Sykala - NTB T15p
e8e50b50f1 Project text origin on object surface when use surface is set. When no intersection thans closest point is selected
(@vojta wants it)
2022-12-15 19:27:58 +01:00
Filip Sykala - NTB T15p
e02c5e84cc Overwritte common transformation stored in gl_volume by emboss surface transformation instead of rewrite result in CallAfter 2022-12-12 17:46:43 +01:00