Commit graph

274 commits

Author SHA1 Message Date
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
Filip Sykala - NTB T15p
fe90a88b4d Log time for loading fonts 2022-10-13 15:05:28 +02:00
Filip Sykala - NTB T15p
fb8de55d89 Add cancel for generate face name texture preview job 2022-10-04 12:03:24 +02:00
Filip Sykala - NTB T15p
e7fa4fc006 Discard changes by restore volume insted of changing history(undo/redo) stack 2022-09-30 18:29:46 +02:00
Filip Sykala - NTB T15p
b594ffc7ef Selection of font for unknown one from 3mf
fix creation of  style name
2022-09-29 18:46:18 +02:00
Filip Sykala - NTB T15p
1e2fe6027d Fix storing of wxFont property which describing font to reconstruct on another computer 2022-09-29 07:59:31 +02:00
Filip Sykala - NTB T15p
c5cfa6498f Fix for issue 78. 2022-09-27 11:45:17 +02:00
Filip Sykala - NTB T15p
088603bc72 Add panic button close. 2022-09-26 10:55:58 +02:00
Filip Sykala - NTB T15p
7979ff9961 Use inch for input size 2022-09-23 17:37:19 +02:00
Filip Sykala - NTB T15p
cbd030b246 Remove top right button X on emboss window 2022-09-23 12:22:50 +02:00
Filip Sykala - NTB T15p
77cc231ed6 Add warning modal message when change modified style(fix issue 70) 2022-09-22 09:20:16 +02:00
Filip Sykala - NTB T15p
3bd557b177 Escape ## in name of style in imgui visualization(issue 61) 2022-09-21 15:15:32 +02:00
Filip Sykala - NTB T15p
e1ea484669 remove unused 2022-09-14 11:32:06 +02:00
Filip Sykala - NTB T15p
61e2cc2403 Hook for manipulation relativity for rotation gizmo 2022-09-13 16:21:08 +02:00
Filip Sykala - NTB T15p
d0ffe16964 Fix rotation Text relative around Z axis 2022-09-13 15:41:21 +02:00
Filip Sykala - NTB T15p
78f002cee8 Limit count of thread generating preview image of font (Limitation of opened files on Linux) 2022-09-12 16:57:28 +02:00
Filip Sykala - NTB T15p
9cefc74e3d Fix using of deprecated opengl functions 2022-08-31 15:53:13 +02:00
Filip Sykala - NTB T15p
ac6a91debe Fix opengl core using -- remove GL_ALPHA to use texture with GL_RGBA
-- take more memory from GPU but works universaly(independent on opengl version)
2022-08-31 15:28:23 +02:00
Filip Sykala - NTB T15p
da0d889986 Remove recalculation for values out of limits
Fix of issue 72
2022-08-30 13:16:23 +02:00
Filip Sykala - NTB T15p
94f735168c fix warnings:
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1452:18: warning: unused variable 'volume_id' [-Wunused-variable]
../src/slic3r/Utils/EmbossStyleManager.cpp:64:18: warning: unused variable 'loaded' [-Wunused-variable]
2022-08-16 18:12:08 +02:00
Filip Sykala - NTB T15p
ab807c4992 Fix of divided UTF8 symbol
Issue 67
2022-08-16 09:16:17 +02:00