Commit Graph

21422 Commits

Author SHA1 Message Date
YuSanka
6d1eec0da6 Hot-fix follow up 71a0b626a9 2022-12-08 09:39:36 +01:00
Filip Sykala - NTB T15p
ce2e0e7978 Merge branch 'master' into fs_emboss 2022-12-08 08:54:26 +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
YuSanka
71a0b626a9 Fixed memory leaks on switch between parameter pages 2022-12-07 16:56:19 +01:00
Lukas Matena
d2c8d628b9 Fixed a bug in Cut gizmo - contour width was not updating correctly 2022-12-07 16:15:25 +01:00
Lukas Matena
595ef873ad Change the way how cut gizmo detects hits on cut plane:
it did not work well on meshes with overlapping surfaces
2022-12-07 16:15:25 +01:00
Lukas Matena
85ad56b43b Optimization: std::vector<bool> can be quite slow to access 2022-12-07 16:15:25 +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
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
d214159fc9 Bigger surface offset to be able see negative volume alligned with surface(constant used by @enrico ) 2022-12-07 13:33:22 +01:00
tamasmeszaros
05ee2a06ff Don't allow short if and for statements on one line
Make debugging harder
2022-12-07 13:27:03 +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
Filip Sykala - NTB T15p
12e6948fef Fix imgui want to have persistant io key during new window
imgui assert  - [link]{b1bfef44ba/src/imgui/imgui.cpp (L7180)}
2022-12-06 14:33:34 +01:00
enricoturri1966
b7740743b8 Gizmo measure fixed to work with mirrored objects 2022-12-06 14:07:51 +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
cf37f154ee Tech ENABLE_PROCESS_G2_G3_LINES set as default 2022-12-06 13:21:06 +01:00
enricoturri1966
6ee7445fe1 Tech ENABLE_USED_FILAMENT_POST_PROCESS set as default 2022-12-06 13:07:08 +01:00
enricoturri1966
4a0b1c77a7 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-06 12:18:17 +01:00
enricoturri1966
028dfb5d9e Tech ENABLE_LEGACY_OPENGL_REMOVAL set as default 2022-12-06 12:17:01 +01:00
Vojtech Bubnik
96ab500a13 Fixing Cut numerical issues on 45 degree rotated cube and
on 90 degree rotated cylinder.
2022-12-06 11:45:05 +01:00
Vojtech Bubnik
7309c729e0 Reworked "only_retract_when_crossing_perimeters" feature, which
was terribly slow:
Introduced RetractWhenCrossingPerimeters.cpp,hpp
AABBTreeIndirect traverse template was extended to support early exit.
2022-12-06 11:45:05 +01:00
tamasmeszaros
b1bfef44ba Convert static data to compile time constants 2022-12-06 10:00:51 +01:00
Lukas Matena
4a2acf9a7e Merge branch 'lm_optimize_measurement' 2022-12-06 09:58:21 +01:00
Lukas Matena
a47bb5bf1b Measurement: extract features on the fly, not when the tool is opened 2022-12-06 09:57:24 +01:00
Lukas Matena
a37f09edaa Measurement: optimize feature extraction:
- do not call ransac when not needed
- decrease number of ransac iterations
- precalculate inverse of transformation matrix
- pass the min error from ransac algorithm, do not calculate it again
2022-12-06 09:57:24 +01:00
Lukas Matena
bed64cb7c7 Measurement: optimize plane highlighting 2022-12-06 09:57:24 +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
7b569c4eb7 Gizmo measure - Do not show distance strict if distance infinite is already shown 2022-12-05 13:52:49 +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
3c961f3816 Move 3mf tag into Slic3r namespace - Break back compatibility with loading text volume
Use surface retype as int
2022-12-02 18:47:11 +01:00
Filip Sykala - NTB T15p
cb7705ddbd optimize for each frame 2022-12-02 17:57:34 +01:00
Filip Sykala - NTB T15p
57695056ed Merge branch 'master' into fs_emboss 2022-12-02 15:57:11 +01:00
Lukas Matena
e04e8c55cf Improved performance of GLModel::render:
The way the OpenGL version was checked was quite inefficient
2022-12-02 14:21:20 +01:00
enricoturri1966
5f26b8c601 Tech ENABLE_WORLD_COORDINATE - Modified behavior of mirror buttons in sidebar panel. Trigger transformation but do not show state. 2022-12-02 14:15:04 +01:00
enricoturri1966
0c9a4305b8 Fixed conflicts 2022-12-02 12:44:10 +01:00
enricoturri1966
210273e12f Fixed differences after rebase to master 2022-12-02 12:39:49 +01:00
Lukas Matena
456e61c7d3 Measurement: Fixed edge detection on single-triangle planes 2022-12-02 12:35:05 +01:00
enricoturri1966
cc8a6a3fff Follow-up of 85195ac79f - Fixed synch of selected features in imgui dialog 2022-12-02 12:35:05 +01:00
enricoturri1966
2f8e2c5e80 Measure gizmo - Fixed missing raycaster when promoting a point as 1st selected feature 2022-12-02 12:35:05 +01:00
enricoturri1966
954cd105e0 Fixed warnings 2022-12-02 12:35:04 +01:00
Lukas Matena
eeea803be5 Measurement: tweaking of the tolerances, ransacing the whole border 2022-12-02 12:35:04 +01:00
enricoturri1966
220104dbe2 Measure gizmo - Fixed sychronization of imgui dialog with current hovering/selection state 2022-12-02 12:35:04 +01:00
enricoturri1966
f081187356 Fixed warning 2022-12-02 12:35:04 +01:00