Commit Graph

10033 Commits

Author SHA1 Message Date
dc7f547a39 Get rid of unnecessary double calling of TriangleSelector::reset() in some cases when TriangleSelector::deserialize() is called. 2021-07-29 11:45:01 +02:00
f2454ded3a Fix of scaling modifiers for a sinking object 2021-07-29 09:37:40 +02:00
56416eac50 Tech ENABLE_SINKING_CONTOURS -> Fix for showing sinking contours while dragging objects 2021-07-29 09:03:20 +02:00
a471c21b25 Added sinking property item to objects list 2021-07-29 08:37:41 +02:00
ae8e246e2d Fixed compile warning 2021-07-28 15:40:55 +02:00
6165e6ecfb Tech ENABLE_SINKING_CONTOURS -> Improved generation of sinking contours and color set to white 2021-07-28 14:27:57 +02:00
875fcc7940 Tech ENABLE_SINKING_CONTOURS -> Cut gizmo: contours updated during render pass 2021-07-28 13:03:48 +02:00
a545c8625c Render statistics now shows actual SwapBuffers() calls per second 2021-07-28 12:50:01 +02:00
fe2903937c Tech ENABLE_SINKING_CONTOURS -> Sinking contours updated during render pass and shown also while dragging an object 2021-07-28 12:23:27 +02:00
151f489ed8 Tech ENABLE_SINKING_CONTOURS -> Sinking contours rendered using triangles 2021-07-28 11:21:59 +02:00
fcf8a4ca63 Tech ENABLE_SINKING_CONTOURS -> Sinking contours shown while dragging Move/Rotate/Scale gizmos and show contours for gizmo cut 2021-07-27 13:02:06 +02:00
0b7baaa3e2 MSW specific: Fixed strange layout after first switch between printer technology 2021-07-27 10:55:05 +02:00
3a1c71ca60 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_contours 2021-07-27 09:04:52 +02:00
7a3faa4732 Hopefully final follow-up of 8ebb2e2 -> GCodeViewer: Ensure that the view is properly updated after automatic selection of view type when loading model using multiextruders prints 2021-07-27 08:47:40 +02:00
b1aeb799f0 New slice_mesh() variant slicing with a single plane only, running
on a single thread only (not parallelized).
The new slice_mesh() is used to calculate contour of objects sunken
below the print bed.
2021-07-26 17:02:56 +02:00
ef8ee91b36 Improvements for c5b7d4b2 fix 2021-07-26 16:17:21 +02:00
adbdf2cb73 Search: Fixed a blinking for the first search 2021-07-26 15:06:18 +02:00
ee33687c79 Fixed update of the default menu after changing of the mode.
+ Added check for the output directory for the G-code extport.
2021-07-26 14:41:38 +02:00
4e6280785d Another follow-up of 8ebb2e2a29 -> GCodeViewer: Ensure that the view is properly updated after automatic selection of view type introduced with 06e2835f83 2021-07-26 13:59:36 +02:00
09a5a8dc86 Use default last directory when we try to save a project with objects from Gallery 2021-07-26 11:34:52 +02:00
d2168a4668 Follow-up of 8ebb2e2a29 -> GCodeViewer: automatically select view type in dependence of gcode content for first loaded gcode file 2021-07-26 11:01:37 +02:00
20084c23bf ConfigWizard: Draw logo inside OnPaint instead of use of wxStaticBitmap 2021-07-23 16:03:17 +02:00
a397c705cb Preview legend: title of estimated print time section dependent on results 2021-07-23 14:49:24 +02:00
56c5b85aa1 ObjectDataViewModel: Added function to add warning icon 2021-07-23 13:48:38 +02:00
692d0841d5 Set imgui scrollbars' grab color to orange 2021-07-23 13:36:43 +02:00
70938eadfc Fixed conflicts after merge with master 2021-07-23 11:40:07 +02:00
5dabae7d0d Fixed import of color print view from gcode files into GCodeViewer 2021-07-23 11:27:07 +02:00
73ea766b86 ImGui sliders clamping:
ImGuiWrapper::slider_float now clamps the value returned by imgui by default. Bare ImGui::SliderFloat
allows entering off-scale values when entered by keyboard, which is not nice. The protection can
be turned off by the last optional parameter.
2021-07-22 15:50:48 +02:00
6fc8254f92 Try fix warning icon 2021-07-22 15:17:23 +02:00
969b472037 FdmSupportsGizmo bugfix: reset highlighted slope after confirmation, otherwise
the highlight stays when it is confirmed and removed later
2021-07-22 14:12:06 +02:00
16511670cf Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_contours 2021-07-22 13:00:47 +02:00
63ae8756bb Tech ENABLE_SEAMS_VISUALIZATION set as default 2021-07-22 12:58:33 +02:00
3dcf5f1156 Tech ENABLE_START_GCODE_VISUALIZATION set as default 2021-07-22 12:32:08 +02:00
13a56cfff7 Tech ENABLE_SCROLLABLE_LEGEND set as default 2021-07-22 12:18:38 +02:00
20971d7c8b Tech ENABLE_MODIFIED_DOWNSCALE_ON_LOAD_OBJECTS_TOO_BIG set as default 2021-07-22 11:55:08 +02:00
0cda79646f Fixed conflicts after merge with master 2021-07-22 11:46:00 +02:00
f4b466ee93 Techs DISABLE_ALLOW_NEGATIVE_Z_FOR_SLA and ENABLE_ALLOW_NEGATIVE_Z set as default 2021-07-22 11:26:31 +02:00
0f5f924edf Fixed cursor size clamping in MMU segmentation gizmo 2021-07-22 11:03:09 +02:00
05f32a6fd0 Follow-up of 1f3252dd78 -> Fixed rectangle selection 2021-07-22 10:27:37 +02:00
4537263265 Tech ENABLE_GCODE_WINDOW set as default 2021-07-22 09:37:02 +02:00
cef1a00d86 Tech ENABLE_VALIDATE_CUSTOM_GCODE set as default 2021-07-22 09:13:12 +02:00
cb873bd88c Tech ENABLE_GCODE_LINES_ID_IN_H_SLIDER set as default 2021-07-22 08:35:21 +02:00
5d482ebb94 Don't save shapes directory to the "last_dir" 2021-07-21 16:13:40 +02:00
c06b477c67 FIX schedule_extra_frame on end; 2021-07-21 15:48:10 +02:00
98314c0551 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_contours 2021-07-21 15:35:41 +02:00
6ec647969f Tech ENABLE_SINKING_CONTOURS -> 1st installment 2021-07-21 15:30:57 +02:00
32bb7ea341 Removed unnecessary conditions that interfere with the search. 2021-07-21 14:48:05 +02:00
f387a354ba Fix of asserting ImGui:
ImGui does not want the io flags to change in between NewFrame and EndFrame.
We did that - e.g. after a key down-key up combination with no render in between,
or when key down and mouse move event were processed with no render in between.
An assert was added in imgui to detect this between 1.75 and 1.83, which
made the issue visible.
Solution: only call the new_frame function in update_key_data/update_mouse_data
when imgui actually consumes the input. This forces immediate render so
EndFrame will be called.
2021-07-21 14:14:16 +02:00
0ce485ecb0 Fixed some compiler warnings. 2021-07-21 12:54:28 +02:00
e7c59f15bb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-07-21 12:28:14 +02:00