Commit Graph

10033 Commits

Author SHA1 Message Date
afbe2a7de5 Added a missing include (GCC 11.1). 2021-09-01 14:28:42 +02:00
58fbc55708 Check unsaved changes before opening of the ConfigWizard 2021-09-01 13:48:40 +02:00
5146e2329b Open menubar item by item index. Possible to call as hint notification hyperlink 2021-09-01 13:34:36 +02:00
15ce5d271b Fixed conflicts after merge with master 2021-09-01 13:28:10 +02:00
17e2cf0dfd Supress desktop integration of gcode viewer at ChromeOS 2021-09-01 12:58:36 +02:00
d31562f5d3 Fix for #6803 - Illegal character in filename when STL opened direct from CAD app
Follow-up to ea4e9b35a3
Win32 specific: Substitute slashes to back slashes in file paths
when loading model files (STLs, 3MFS ...)
2021-09-01 11:08:08 +02:00
a922b421c5 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-09-01 09:55:35 +02:00
1fcf579fd1 Fixed typo which broke export of toolpaths to obj file 2021-09-01 09:54:59 +02:00
7fbc1cc37b 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
b81a0e28e2 Implemented configurable speed and acceleration settings for the first
object layer over raft interface:
"first_layer_speed_over_raft", "first_layer_acceleration_over_raft".
Fixes I have a question about the speed of the first layer after the raft. #6623
Fixes Layer After Raft Is Not Considered First Layer! #6166
2021-08-31 16:03:14 +02:00
8aefcad7d7 Follow-up of 3abc71fa15 - Fixed call to trigger undo/redo snapshot 2021-08-31 14:19:32 +02:00
afed273930 Allow to replace files found as missing during reload from disk command 2021-08-31 13:16:29 +02:00
d9fd4d5610 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
9ac2a851db Fixed encoding of undo/redo snapshot names created through
TakeSnapshot class (implicit std::string/wxString conversion)
2021-08-31 12:05:08 +02:00
8457e643d2 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
489d9143e2 delayed notifications: custom condition function for showing and refactoring 2021-08-31 10:34:47 +02:00
15fa298ca1 Fixed warning 2021-08-31 09:17:52 +02:00
ff08edc441 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
6f3ea663fc Added missing vertical alignments of labels in imgui dialogs 2021-08-31 08:53:40 +02:00
0090f05145 Do not add an undo/redo snapshot when hitting Del key while nothing is selected 2021-08-31 08:07:38 +02:00
773c35049d Delayed notifications list
Hint notification is delayed until empty notifications
2021-08-30 16:38:58 +02:00
7bf3a988b8 ENABLE_SEAMS_USING_MODELS -> Increased size of instances 2021-08-30 14:13:41 +02:00
8f8c4c0454 Fixed conflicts after merge with master 2021-08-30 13:26:35 +02:00
be65c21dd5 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
97ec75afad Corrected undo/redo snapshot name when entering or leaving multi-material painting gizmo. 2021-08-30 10:41:41 +02:00
6a26c1e8bd Escaping of backslash 2021-08-30 10:28:57 +02:00
40296ddb21 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_seams_as_models 2021-08-30 08:37:51 +02:00
f16eb95ea2 Revert of d701dfe436 2021-08-30 08:29:50 +02:00
37e4f36255 Desktop integration escaping path 2021-08-28 14:35:29 +02:00
aae7e5f2a7 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
97dc182d27 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
59f55aabb6 ENABLE_SEAMS_USING_MODELS -> Fixed instances when horizontal slider is enabled for top layer only 2021-08-27 15:23:27 +02:00
61e5a43ba5 Tech ENABLE_SEAMS_USING_INSTANCED_MODELS merged into tech ENABLE_SEAMS_USING_MODELS 2021-08-27 11:41:34 +02:00
b0a4b817a3 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
337c4f7a3b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_seams_as_models 2021-08-27 10:17:20 +02:00
b5fbe79f31 ENABLE_SEAMS_USING_INSTANCED_MODELS -> Completed implementation of rendering models using instancing 2021-08-27 10:16:50 +02:00
cf1b3dcbd8 Code cleanup and small refactoring 2021-08-26 14:37:09 +02:00
a8ea62c865 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-08-26 14:21:59 +02:00
25a21320d5 Fix: Do not revert changes on change GLGizmoBase::m_state when apply was used 2021-08-26 14:21:54 +02:00
271838edc5 Fix unsliced objects when their dimensions are close to bed limits
fixes #6823
2021-08-26 13:39:22 +02:00
4c131dad67 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_save_command 2021-08-26 12:46:00 +02:00
23ca3007e7 Fixed conflicts after merge with master 2021-08-26 12:39:28 +02:00
4868c42169 ENABLE_SEAMS_USING_INSTANCED_MODELS -> WIP: Render models using glDrawElementsInstanced 2021-08-26 12:37:55 +02:00
857d94899a Fixed the issue that an object disappeared in a multi-material painting gizmo when the object was almost completely sunk under the bed.
Object disappearance was caused by calling glPolygonOffset for rendered triangles in the multi-material painting gizmo to resolve z-fighting between painted triangles and contours around selected areas using seed/bucket fill.
2021-08-26 12:08:21 +02:00
d5d79c5654 Tech ENABLE_SAVE_COMMANDS_ALWAYS_ENABLED -> 1st installment: Allow to save/load empty projects 2021-08-26 10:38:14 +02:00
caa45bb0d0 Added a missing include (GCC 11.1). 2021-08-26 08:43:47 +02:00
a36a51a669 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-08-26 08:06:44 +02:00
19480d53b8 Fixed update of objects list in sidebar after deleting a part from a sinking object 2021-08-26 08:06:37 +02:00
1273869dc8 Fix:
../src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp:109:23: warning: comparison of integer expressions of different signedness: 'std::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp:132:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
../src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp:171:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
Severity Code Description Project File Line Suppression State
Warning C26451 Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). libslic3r_gui C:\GIT\slic3r\src\slic3r\GUI\Gizmos\GLGizmoSimplify.cpp 143
2021-08-25 18:25:37 +02:00
cbd8f8de10 Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-25 16:56:24 +02:00