1698 Commits

Author SHA1 Message Date
YuSanka
b71e0bfd34 Follow-up 8913fdf6ab
* Deleted/Temporary commented redundant call of app_config->save()
 * Use app_config->get_bool() function on all places
2023-02-13 17:23:49 +01:00
Lukas Matena
aa83b20b8e Small optimizations in rendering functions 2023-02-07 17:52:37 +01:00
enricoturri1966
a0171e069b Fixed rendering of layer editing profile 2023-01-31 11:28:08 +01:00
enricoturri1966
1218103fd6 Revert of a3324d3e50114aa16c48be7ec6b939c9315f4dde - Replaced with a more robust fix 2023-01-30 09:34:17 +01:00
Lukas Matena
7f5e2dd57a Revert "Revert "Fixed crash when changing printer while Hollow gizmo is open""
This reverts commit 73eba8c930310a89870f6a061076a579d9251358.
This is a revert of a revert - the original commit a3324d3
is probably fine after all.
2023-01-27 14:44:26 +01:00
Lukas Matena
73eba8c930 Revert "Fixed crash when changing printer while Hollow gizmo is open"
This reverts commit a3324d3e50114aa16c48be7ec6b939c9315f4dde.
2023-01-27 12:54:38 +01:00
enricoturri1966
f327b805db Fixed rendering of shells in preview 2023-01-23 09:21:07 +01:00
enricoturri1966
a3324d3e50 Fixed crash when changing printer while Hollow gizmo is open 2023-01-23 08:17:18 +01:00
YuSanka
d681b99c10 Disable "Search"/"Arrange options" ImGui dialog, when some of gizmos is active 2023-01-19 10:11:08 +01:00
tamasmeszaros
57bdd8df6f Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-17 14:48:37 +01:00
tamasmeszaros
0fa9bcc63b Fix crash with fff mmu 2023-01-16 19:49:02 +01:00
Vojtech Bubnik
d1f610d957 Extending the expressivity of ExtrusionRole
Moved is_xx() test functions to ExtrusionRole enum class,
changed the tests to use the new ExtrusionRole bitmask.
Follow-up to 5991850db1f2d09d1b7713f42300e2bfe4a42128
e50e96bb26eab4f9d56c98706c03166635cf4fff
c64dbacf88c617e3d676bdaa6c8c81317ccaee5d
2023-01-16 12:39:08 +01:00
Vojtech Bubnik
5991850db1 WIP Extending the expressivity of ExtrusionRole
Co-authored-by: supermerill <merill@free.fr>
Based on the unfinished idea of @supermerill, defining ExtrusionRole
as a bit mask of ExtrusionRoleModifier.
Because the ExtrusionRole was used for both ExtrusionEntity and
G-code export / G-code viewer, the original ExtrusionRole had to be split
to ExtrusionRole and GCodeExtrusionRole to support bitmask attributes
for the former while keeing a low number of ordinary values for the latter.
2023-01-16 10:14:46 +01:00
Vojtech Bubnik
661463645b Background processing: The milestone state machine was extended
with canceled / invalidated states.
Print / PrintObject infrastructure was extended with a cleanup()
callback, which may check for the new State::Canceled / State::Invalid
states of a particular milestone and turn it to State::Fresh
while releasing data of that particular milestone which is no more valid.

Also fixed a bug in 31fbfa56de70bf8093cea5fe56c73b0e6fa017c3
where the PrintObject shared data invalidation condition was flipped.
2023-01-16 10:14:46 +01:00
tamasmeszaros
fc9b7ed59c Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-13 11:02:06 +01:00
tamasmeszaros
cf4f07c220 Use shared pointers for SLA preview data
To be able to survive a sudden cancellation and subsequent cleanup in the background thread
2023-01-12 19:38:24 +01:00
tamasmeszaros
7c834de6ab Fix crash when selecting an object
issue no. 11
2023-01-10 09:42:53 +01:00
enricoturri1966
2ede668676 Added debug imgui window to show the content of selected volumes' matrices 2023-01-05 11:52:10 +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
tamasmeszaros
8470d4594d Fix crash in debug mode with empty preview 2022-12-19 18:50:16 +01:00
Lukas Matena
84416b41e1 Follow-up to previous commit (wipe tower rotation) 2022-12-16 08:08:29 +01:00
enricoturri1966
58688139fd Tech ENABLE_WORLD_COORDINATE - Fixed rotation of wipe tower 2022-12-16 08:08:29 +01:00
enricoturri1966
a02fc6cb3e Tech ENABLE_WORLD_COORDINATE - Fix of Selection::mirror() 2022-12-16 08:08:28 +01:00
YuSanka
473c8a26a4 Suppress to switch to SLA-technology printer, if an object has a modifier(s)
+ WIP: ptSLA : Hide modifiers on 3DScene.
Waiting for @enricoturri1966 review/reworking
2022-12-15 11:46:05 +01:00
tamasmeszaros
45fffed309 Remove leftover commented code 2022-12-15 09:50:11 +01:00
tamasmeszaros
3f7dcf744b wip on support points elevation bug 2022-12-14 18:19:04 +01:00
enricoturri1966
faf20a2650 Fixed crash while reloading scene when using sla printer with multipart objects 2022-12-12 15:37:36 +01:00
Filip Sykala - NTB T15p
ce2e0e7978 Merge branch 'master' into fs_emboss 2022-12-08 08:54:26 +01:00
enricoturri1966
43c195e227 Fixed conflicts after merge with master 2022-12-07 15:44:27 +01:00
enricoturri1966
fe3a15942b Follow-up of 6d737f7081883071a547e0c9960813342e8388e3 - Ensure icon size is a whole number wherever is used 2022-12-07 14:50:20 +01:00
Lukas Matena
b037e5f024 Optimization: do not regenerate toolbar texture in each frame 2022-12-07 14:38:02 +01:00
Filip Sykala - NTB T15p
25bb81b9f6 Merge branch 'master' into fs_emboss 2022-12-07 13:34:40 +01:00
enricoturri1966
5351137183 (Win Only) Detection of cursor size, to place tooltips on scene, performed on tooltip text setting instead of being repeated every frame 2022-12-06 13:49:05 +01:00
enricoturri1966
028dfb5d9e Tech ENABLE_LEGACY_OPENGL_REMOVAL set as default 2022-12-06 12:17:01 +01:00
Filip Sykala - NTB T15p
47ca06e53e Merge branch 'master' into fs_emboss 2022-12-05 15:21:04 +01:00
enricoturri1966
8eb12cbaf0 Fixed conflicts after merge with master 2022-12-05 13:29:28 +01:00
enricoturri1966
6f18f8f784 Tech ENABLE_RAYCAST_PICKING set as default 2022-12-05 10:24:30 +01:00
Filip Sykala - NTB T15p
57695056ed Merge branch 'master' into fs_emboss 2022-12-02 15:57:11 +01:00
enricoturri1966
8ef55ff82e Tech ENABLE_RAYCAST_PICKING_DEBUG - Extended data shown into debug imgui dialog 2022-12-02 12:26:30 +01:00
enricoturri1966
2b155d5932 Gizmo measure - Hide SLA supports and pad when opening the gizmo 2022-12-02 12:26:30 +01:00
Filip Sykala - NTB T15p
0e01e6af72 Fix crash when double click on wipe tower
Add option to open embos gizmo by doubleclick when move scale rotate or emboss
+ fix demo opening
2022-12-01 21:14:55 +01:00
Filip Sykala - NTB T15p
d6add81319 Show imgui demo window after type "demo" 2022-12-01 17:35:17 +01:00
Filip Sykala - NTB T15p
d521df7486 Merge branch 'master' into fs_emboss 2022-11-29 18:42:23 +01:00
Filip Sykala - NTB T15p
d9cc6ecad9 Show imgui demo window 2022-11-29 18:42:11 +01:00
YuSanka
9fe4595ae7 CutGizmo: Cut plane wasn't respect to the depth
+ ShapesGallery: added "universal wall mount hole"
2022-11-29 16:21:45 +01:00
tamasmeszaros
f100a59688 Cherry-picking 118f4859c472ccbc30b43101c6674dadc81d7b12
And resolve conflicts
2022-11-29 11:14:19 +01:00
tamasmeszaros
9bc3410474 Re-enable volumes in SLA, use raycasters from canvas in supports gizmo
Got rid of HollowedMesh and Raycaster usage from GizmosCommon pool to prevent crashes
2022-11-29 11:11:32 +01:00
tamasmeszaros
15fa4c42d6 Finalize new sla backend interface
no has_mesh or get_mesh based on states, but specific methods to get the mesh type needed (support, pad, object)

Commented out everything that does not conform in frontend
2022-11-29 11:11:02 +01:00
tamasmeszaros
39a1ed0e1a WIP: prepare frontend to use new sla backend interface 2022-11-29 11:11:02 +01:00
Vojtech Bubnik
9a682a10cb Merge remote-tracking branch 'remotes/origin/fs_emboss' 2022-11-28 17:46:12 +01:00