162 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
72f5f681e8 Merge branch 'master' into fs_undoredo 2023-03-29 10:58:18 +02:00
Filip Sykala - NTB T15p
6f9f7ad47a change to constexpr 2023-03-29 10:57:48 +02:00
Filip Sykala - NTB T15p
073a07e9d9 Merge branch 'master' into fs_undoredo 2023-03-29 10:51:04 +02:00
Filip Sykala - NTB T15p
cc5660ad8c Lock for rotation. 2023-03-29 10:45:11 +02:00
Filip Sykala - NTB T15p
856b8d1a24 Add check for unselection to close emboss gizmo before snapshot 2023-03-28 21:48:34 +02:00
Filip Sykala - NTB T15p
e14c7f275b Merge branch 'master' into fs_undoredo 2023-03-24 15:06:57 +01:00
YuSanka
19f2a1d9e9 Unified usage of localization macros in slic3r/libslic3r 2023-03-23 22:55:38 +01:00
Filip Sykala - NTB T15p
51db683c9d Prevent creation volume on undo redo action. 2023-03-23 18:05:26 +01:00
Filip Sykala - NTB T15p
af21038d94 Merge branch 'master' into fs_undoredo 2023-03-22 18:15:33 +01:00
Filip Sykala - NTB T15p
ae016aceb9 Fix for selection of unknodn font 2023-03-21 12:11:09 +01:00
Filip Sykala - NTB T15p
ca5b310e43 Fix: moving with text object(not volume) over build plate by canvas dragging 2023-03-15 11:30:41 +01:00
Lukas Matena
e29970a2ed Added 'is_serializing' flag to GLGizmoBase::data_changed function 2023-03-14 13:57:31 +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
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
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
e86dff528d Separate drag manager 2023-02-28 09:17:25 +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
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
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
5be8e41545 Clean up calculation of transformation 2023-02-17 10:13:54 +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
Filip Sykala - NTB T15p
fc9bae667d separate calculation of rotation 2023-02-09 09:12:09 +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
21ff6bc048 Fix emboss window position when change slicer size 2023-02-02 09:42:30 +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
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
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
82c0913ea8 Add Search fot font face names 2023-01-17 12:29:19 +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
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
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
Filip Sykala - NTB T15p
a754535dfc Show correct depth and height for scaled object inside emboss gizmo 2022-12-08 08:54:17 +01:00
Filip Sykala - NTB T15p
47ca06e53e Merge branch 'master' into fs_emboss 2022-12-05 15:21:04 +01:00
Filip Sykala - NTB T15p
22891acc07 Lock emboss text window position 2022-12-05 15:20:56 +01:00
enricoturri1966
6f18f8f784 Tech ENABLE_RAYCAST_PICKING set as default 2022-12-05 10:24:30 +01:00
Filip Sykala - NTB T15p
fe736291c7 rename function which change m_volume value to set_volume() 2022-11-29 13:54:38 +01:00
Filip Sykala - NTB T15p
9e19d9ca06 Create text by menu in right panel
Issue 54 (right panel -Sidebar)
Fix creating text volume inside deleted object.
2022-11-24 20:51:58 +01:00
Filip Sykala - NTB T15p
f3724c8dac Truncate font name on demand 2022-11-23 13:01:11 +01:00
Filip Sykala - NTB T15p
a54459d46a fix:
./src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1356:20: error: 'ofstream' is not a member of 'boost::nowide'; did you mean 'std::ofstream'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1357:41: error: 'file' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1369:27: error: 'error' was not declared in this scope; did you mean 'perror'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1369:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1378:29: error: 'exists' is not a member of 'boost::filesystem'
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1379:27: error: 'warning' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1379:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1382:20: error: 'ifstream' is not a member of 'boost::nowide'; did you mean 'std::ifstream'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1383:40: error: 'file' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1389:27: error: 'error' was not declared in this scope; did you mean 'perror'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1389:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1431:27: error: 'info' was not declared in this scope; did you mean 'boost::bimaps::relation::member_at::info'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1431:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1443:27: error: 'info' was not declared in this scope; did you mean 'boost::bimaps::relation::member_at::info'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1443:9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1448:23: error: 'info' was not declared in this scope; did you mean 'boost::bimaps::relation::member_at::info'?
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1448:5: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
2022-11-21 14:00:14 +01:00
Filip Sykala - NTB T15p
58592593af Add new volume as cut surface by definition in style 2022-11-21 10:15:20 +01:00
Filip Sykala - NTB T15p
4e43a1f6a0 Open emboss gizmo after create new volume(no need to redraw gizmo window position)
Fix enters in volume name in object list by change to space
Fix lightning when dragging
2022-11-09 10:12:30 +01:00
Filip Sykala - NTB T15p
bf55f63c39 Extend advance height when font is collection 2022-11-08 12:23:43 +01:00
Filip Sykala - NTB T15p
67d8b8291a Cache font list into binary file by Cereal - remember bad font 2022-11-07 15:33:23 +01:00