Commit Graph

16715 Commits

Author SHA1 Message Date
enricoturri1966
4a1c42b3d5 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-01 09:34:18 +02:00
enricoturri1966
d7bb4c36f5 Requires OpenGL 3.3 as a minimum to enable instanced rendering of seams and other options in preview 2021-09-01 09:34:07 +02:00
Lukáš Hejl
ccf671dcc9 Added versioning of the structure of stored data for all three painting gizmos (fdm supports, seam and multi-material). 2021-08-31 15:05:11 +02:00
Lukáš Hejl
1835dae296 Fixed a bug that the skirt was generated too far from the brim for some objects. 2021-08-31 14:54:37 +02:00
enricoturri1966
c797bed67d Changed vertex attributes syntax in gouraud_light_instanced.vs 2021-08-31 14:35:32 +02:00
Vojtech Bubnik
5f26bfd397 Brim separation from object, follow up to 82373334bc
1) Changed the name of the variable "brim_offset" to "brim_separation"
   for clarity.
2) Added legacy conversion after loading an old 3MF that does not define
   then new "brim_separation" variable: The "brim_separation" is being
   filled in with the "elefant_foot_compensation" value to produce
   equal brim separation to the old PrusaSlicer that saved that 3MF file.
2021-08-31 12:22:44 +02:00
Lukas Matena
4cc729b312 Fixed encoding of undo/redo snapshot names created through
TakeSnapshot class (implicit std::string/wxString conversion)
2021-08-31 12:05:08 +02:00
David Kocik
788d114a2f Passing call_selection_changed to update_info_items.
Helps to decide correctly if object was added or only undo / redo operation.
2021-08-31 11:26:00 +02:00
David Kocik
04778e0fa5 delayed notifications: custom condition function for showing and refactoring 2021-08-31 10:34:47 +02:00
enricoturri1966
86ddac7b1e Fixed warning 2021-08-31 09:17:52 +02:00
Lukas Matena
270c076e77 Fixed undo/redo issue when clear method of FacetsAnnotation and ModelConfig
reset timestamp to 1. This led to a bug where e.g. deleting painted facets
through the respective item in object list followed by  possible other actions
and undo restored the painted facets from the time when the project was loaded.
I'm not sure if there was any other situation where this problem manifested.
2021-08-31 09:16:09 +02:00
enricoturri1966
9a5f61c306 Added missing vertical alignments of labels in imgui dialogs 2021-08-31 08:53:40 +02:00
enricoturri1966
368e9d7f4e Do not add an undo/redo snapshot when hitting Del key while nothing is selected 2021-08-31 08:07:38 +02:00
Vojtech Bubnik
f92312b597 Fixed parsing of Config from AMF / 3MF if it started with an empty line.
This bug was introduced with e947a29fc8
2021-08-30 17:57:04 +02:00
David Kocik
b5742eabe0 Delayed notifications list
Hint notification is delayed until empty notifications
2021-08-30 16:38:58 +02:00
tamasmeszaros
9b97414a94 Mention DEP_DOWNLOAD_DIR in docs
Also update dependency report, add CGAL
2021-08-30 15:52:24 +02:00
Vojtěch Bubník
1e3100d295
Update How to build - Linux et al.md 2021-08-30 15:02:30 +02:00
Vojtěch Bubník
a571e0f9c4
Update How to build - Linux et al.md 2021-08-30 15:00:34 +02:00
Vojtech Bubnik
87b542597e Referenced https://github.com/prusa3d/PrusaSlicer/wiki/PrusaSlicer-on-Linux---binary-distributions 2021-08-30 14:52:53 +02:00
Vojtěch Bubník
dcbaf87048
Note on desktop integration (PrusaSlicer 2.4) 2021-08-30 14:32:05 +02:00
enricoturri1966
ce3f51379a ENABLE_SEAMS_USING_MODELS -> Increased size of instances 2021-08-30 14:13:41 +02:00
enricoturri1966
2a42cf4fda Merge remote-tracking branch 'origin/et_seams_as_models' 2021-08-30 13:27:07 +02:00
enricoturri1966
1238afbdfd Fixed conflicts after merge with master 2021-08-30 13:26:35 +02:00
enricoturri1966
c32f2fb765 New project command enabled when the plater is empty but the project state is marked as dirty 2021-08-30 12:14:45 +02:00
enricoturri1966
9c1c723253 Fixed volume name when loading a 3mf, saved with 3rd part software, as project 2021-08-30 11:46:26 +02:00
enricoturri1966
cc56769ec3 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-08-30 10:47:09 +02:00
enricoturri1966
7b46ddc744 Merge remote-tracking branch 'origin/et_3mf_mirrored_volumes' 2021-08-30 10:46:26 +02:00
enricoturri1966
fe66aa9559 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_3mf_mirrored_volumes 2021-08-30 10:44:50 +02:00
Lukáš Hejl
57f7b49223 Corrected undo/redo snapshot name when entering or leaving multi-material painting gizmo. 2021-08-30 10:41:41 +02:00
David Kocik
6d13d32416 Merge branch 'dk_desktop' 2021-08-30 10:29:20 +02:00
David Kocik
6be99f941d Escaping of backslash 2021-08-30 10:28:57 +02:00
enricoturri1966
7a3f8c0a4c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_seams_as_models 2021-08-30 08:37:51 +02:00
enricoturri1966
876f9d5a99 Cleanup in shader gouraud_light_instanced.vs 2021-08-30 08:37:41 +02:00
enricoturri1966
14659cf760 Revert of d701dfe436 2021-08-30 08:29:50 +02:00
David Kocik
d96549f307 Merge branch 'dk_desktop' 2021-08-28 14:37:12 +02:00
David Kocik
ae3478c6c5 Desktop integration escaping path 2021-08-28 14:35:29 +02:00
Vojtech Bubnik
1c76df89ea Fix of paint on supports don't work for object that has been scaled up #6718
The triangle-ray intersection function used a hard coded epsilon,
which did not work for triangle meshes, that were either too small
or too large. Newly the epsilon may be provided to the AABBTreeIndirect
search functions externally and IndexedMesh calculates a suitable
epsilon on demand from an average triangle mesh edge length.
2021-08-27 21:04:18 +02:00
Lukas Matena
d9f2fd7501 Fixed shifted clippimg plane triangulation on scaled meshes,
fighting z-fighting has to be done in world coords.
2021-08-27 19:46:44 +02:00
enricoturri1966
7bd14bfaf7 ENABLE_SEAMS_USING_MODELS -> Fixed instances when horizontal slider is enabled for top layer only 2021-08-27 15:23:27 +02:00
Vojtech Bubnik
8dfc0422a8 Faster and hopefully more reliable projection of paint-on support
blockers and enforcers on a sliced mesh.
2021-08-27 15:05:18 +02:00
Vojtech Bubnik
306bd0a198 Fixed leakage of paint-on supports through thin objects. This is a bug
introduced during 2.4.0 refactoring.
Fixes To much support #6067
2021-08-27 15:05:18 +02:00
Vojtech Bubnik
03fce23570 Fixed Perl bindings 2021-08-27 15:05:18 +02:00
Lukas Matena
2844bee60b Added missing include (gcc 8.4) 2021-08-27 14:01:29 +02:00
Lukas Matena
7852ba061c Slightly reworded the 'Empty layers detected' warning,
it mentions the layers between which the problem occurs,
not just the upper one (which may be unclear).
2021-08-27 12:13:15 +02:00
enricoturri1966
9c4eeeaa18 Tech ENABLE_SEAMS_USING_INSTANCED_MODELS merged into tech ENABLE_SEAMS_USING_MODELS 2021-08-27 11:41:34 +02:00
Vojtech Bubnik
fbe4695958 Slight optimization of GLGizmoSimplify::process():
Moved a static variable from inside a lambda outside as the static
inner variable initialization & access has to be made thread safe.
2021-08-27 11:30:37 +02:00
Vojtech Bubnik
ae8e0311d7 debugging function debug_output_path() moved to utils.cpp/hpp
and it now prints to console the default path when called for the first time.
Fixed compilation of debugging output in SupportMaterial.
2021-08-27 11:25:50 +02:00
enricoturri1966
dd5beee0bd Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_seams_as_models 2021-08-27 10:17:20 +02:00
enricoturri1966
03dc2f7c11 ENABLE_SEAMS_USING_INSTANCED_MODELS -> Completed implementation of rendering models using instancing 2021-08-27 10:16:50 +02:00
enricoturri1966
c471c3c7c4 Code cleanup and small refactoring 2021-08-26 14:37:09 +02:00