Commit graph

294 commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
c254d09667 Fix adding cut surface on torus by right panel
Fix (partialy) position of add text on torus by right panel
2022-12-12 13:28:17 +01:00
Filip Sykala - NTB T15p
4bc0d1dee2 Disallow float window 2022-12-08 15:20:40 +01:00
Filip Sykala - NTB T15p
4b3fc0f821 fix:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:2675:15: warning: unused variable 'font_prop' [-Wunused-variable]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3463:13: warning: 'Slic3r::Transform3d priv::create_transformation_on_bed(const Vec2d&, const Slic3r::GUI::Camera&, const std::vector<Eigen::Matrix<double, 2, 1, 2> >&, double)' defined but not used [-Wunused-function]
2022-12-08 14:10:17 +01:00
Filip Sykala - NTB T15p
f188e0ef88 Draw circle on the origin 2022-12-08 13:17:15 +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
25bb81b9f6 Merge branch 'master' into fs_emboss 2022-12-07 13:34:40 +01:00
Filip Sykala - NTB T15p
c0a60d4637 scale for text height information showed to user 2022-12-07 13:34:36 +01:00
Filip Sykala - NTB T15p
c8503d5835 Add using camera direction together with use surface 2022-12-06 14:45:25 +01:00
Filip Sykala - NTB T15p
307d541eaf Add option to use camera orientation for text. 2022-12-06 14:34:16 +01:00
enricoturri1966
028dfb5d9e Tech ENABLE_LEGACY_OPENGL_REMOVAL set as default 2022-12-06 12:17:01 +01:00
Filip Sykala - NTB T15p
2168d0935a Allow letter "T" for open text gizmo 2022-12-05 16:52:35 +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
5266c6be8e Fix typo 'activ_' to 'active_' 2022-12-02 19:03:26 +01:00
Filip Sykala - NTB T15p
9d1204d6f5 Fix typo 'activ_font' to 'active_font' 2022-12-02 19:00:44 +01:00
Filip Sykala - NTB T15p
9f395a26a3 Remove test 2022-12-01 17:20:23 +01:00
Filip Sykala - NTB T15p
36f6c8bf65 temporary add scope guard test for MacOs 2022-11-30 15:46:27 +01:00
Filip Sykala - NTB T15p
1309dab7e7 Do not inform user about disable cut surface functionality 2022-11-30 11:35:48 +01:00
Filip Sykala - NTB T15p
9a40e63a11 Disable background fadeout animation for modal imgui windows 2022-11-30 10:49:53 +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
22a17e92e7 weird crash on mac due to pop style 2022-11-23 15:24:51 +01:00
Filip Sykala - NTB T15p
52460f0c89 Fix truncation text by imgui width 2022-11-23 13:35:59 +01:00
Filip Sykala - NTB T15p
f3724c8dac Truncate font name on demand 2022-11-23 13:01:11 +01:00
Filip Sykala - NTB T15p
4b23cbaffd Comment can load process - try for MAC 2022-11-23 10:22:11 +01:00
Filip Sykala - NTB T15p
9b7e6db906 Fix:
../src/slic3r/Utils/WxFontUtils.cpp💯27: error: 'error' was not declared in this scope; did you mean 'perror'?
../src/slic3r/Utils/WxFontUtils.cpp💯9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/Utils/WxFontUtils.cpp:146:5: error: 'wxSystemFont' was not declared in this scope; did you mean 'wxSystem'?
../src/slic3r/Utils/WxFontUtils.cpp:147:32: error: 'wxSystemSettings' has not been declared
../src/slic3r/Utils/WxFontUtils.cpp:147:58: error: 'system_font' was not declared in this scope
2022-11-22 15:56:17 +01:00
Filip Sykala - NTB T15p
788059f3eb Fix:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:2405:73: error: conversion from 'wxFont' to non-scalar type 'std::optional<wxFont>' requested
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3019:12: warning: unused variable 'wx_font_opt' [-Wunused-variable]
2022-11-21 21:48:52 +01:00
Filip Sykala - NTB T15p
a8318ee4f3 Fix
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3021:58: error: use of deleted function 'std::optional<wxFont>& std::optional<wxFont>::operator=(std::optional<wxFont>&&)'
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3026:55: error: use of deleted function 'std::optional<wxFont>& std::optional<wxFont>::operator=(std::optional<wxFont>&&)'
2022-11-21 16:46:16 +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
871fde4bac Inform user about not allowed use surface 2022-11-21 11:34:24 +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
fdf1c2fc71 Fix lightning when move above surface and view from bottom 2022-11-09 14:06:18 +01:00
Filip Sykala - NTB T15p
bcb3603d5d Remove unneccessary check. m_volume during draw windor must be set up and must contain text configuration in GLGizmoEmboss 2022-11-09 13:54:17 +01:00
Filip Sykala - NTB T15p
8fdbfaddaa Remove generate text object button 2022-11-09 13:17:25 +01:00
Filip Sykala - NTB T15p
250f2444fa Add orange border for input when warning appear 2022-11-09 13:14:51 +01:00
Filip Sykala - NTB T15p
7cf99ba430 Remove opening emboss gizmo by shortcut 'T' 2022-11-09 12:45:42 +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
01633a68c0 disalow advance edit when unknown font is selected in 3mf 2022-11-08 15:45:28 +01:00
Filip Sykala - NTB T15p
58c028d904 Add invalidation of wx font list when open combo box. Fix issue with new installed fonts 2022-11-08 14:54:46 +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
2886d26fa0 Log state of font list cache. 2022-11-08 08:54:35 +01:00
Filip Sykala - NTB T15p
41f0017f07 Fix: ../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1550:17: warning: unused variable 'allow_update_rendered_font' [-Wunused-variable] 2022-11-07 23:12:13 +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
Filip Sykala - NTB T15p
5daf8818c9 Add checking of new installed font into list on each open combo box 2022-11-04 10:01:32 +01:00
Filip Sykala - NTB T15p
1a285dd5f1 Revert "Temporary test for performance on Ubuntu"
This reverts commit b88d2655fb.
2022-10-26 09:47:26 +02:00
Filip Sykala - NTB T15p
b88d2655fb Temporary test for performance on Ubuntu 2022-10-26 09:08:21 +02:00
Filip Sykala - NTB T15p
3eb09a9842 Prevent double instances of embossed text on canvas.
Fix issue 73 (use surface)
2022-10-25 13:55:09 +02:00
Filip Sykala - NTB T15p
47952e0c08 Add timer for measure time consumption 2022-10-21 09:53:16 +02:00
Filip Sykala - NTB T15p
426fdfb27a Cache only last 32 font preview.
Prevent creation of huge texture for font previews
Add reservation of space for no texture(prevent change of comgo box width)
2022-10-14 19:08:18 +02:00