Commit Graph

9107 Commits

Author SHA1 Message Date
enricoturri1966
568483db7b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-09-17 14:47:30 +02:00
enricoturri1966
92bf9a664d Fix of detection of the out of bed state for sinking objects in backend 2021-09-17 14:47:19 +02:00
enricoturri1966
9d7549e661 Use std::optional to replace dirty flags for bounding boxes in Selection 2021-09-17 13:24:37 +02:00
enricoturri1966
6d70ada637 Follow-up of 2f95c7721f - Even faster implementation of method TriangleMesh::transformed_bounding_box(const Transform3d& trafo, double world_min_z) 2021-09-17 09:45:50 +02:00
Lukas Matena
82b4a4fe11 Place on face improvement: respect different z-rotation of instances 2021-09-17 09:38:53 +02:00
enricoturri1966
f2ef4be1aa Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-09-17 08:42:10 +02:00
enricoturri1966
2f95c7721f Follow-up of 5a84b46ec9 - Faster implementation of method TriangleMesh::transformed_bounding_box(const Transform3d& trafo, double world_min_z) 2021-09-17 08:42:01 +02:00
enricoturri1966
0b1e716e22 Tech ENABLE_RETRACT_ACCELERATION set as default 2021-09-17 08:21:25 +02:00
enricoturri1966
5a84b46ec9 Fix of detection of the out of bed state for sinking objects 2021-09-16 13:38:02 +02:00
Lukas Matena
129212a020 Fixed build on Linux (GCC 9.4.0) 2021-09-16 13:14:08 +02:00
Lukas Matena
e8418b509e Fixed switching of settings access radio buttons in Preferences,
the middle button only worked when _MSW_DARK_MODE.
Broken since fd07142.
2021-09-16 12:40:20 +02:00
enricoturri1966
94f92dee84 Use std::optional to replace dirty flags for bounding boxes in GLVolume 2021-09-16 10:46:56 +02:00
YuSanka
03a692cfd1 Implemented possibility to fix several objects at once 2021-09-16 10:07:00 +02:00
Lukas Matena
fe94a3c8c5 LocalesUtils: fixed BSD and improved performance of decimal point formatting functions 2021-09-15 19:52:32 +02:00
Lukas Matena
aef90bc735 Fixed build on Win and one more warning 2021-09-15 18:39:55 +02:00
Lukas Matena
71ba15b6f0 Fixed comparison of layer height profiles when printing with wipe tower:
while the layer height profile vector may not contain all print z
values, the only real case with two eqiuvalent layer height profiles is
when one was created as a copy of another, so the vectors should in fact be equal.
2021-09-15 16:37:41 +02:00
Lukas Matena
677cb58000 Fix several warnings 2021-09-15 16:36:59 +02:00
enricoturri1966
40877b12f7 Vertical alignment of labels in imgui dialog for GLGizmoMmuSegmentation 2021-09-15 14:32:43 +02:00
enricoturri1966
57749d6f09 Small refactoring into ClippingPlane to ensure that the normal is always a unit vector 2021-09-15 13:36:44 +02:00
enricoturri1966
9d5a3a00ef Hotfix for missing wipe tower after adding an object for an MMU printer 2021-09-15 11:36:58 +02:00
enricoturri1966
2e9b07202a Fixed build when tech ENABLE_SEAMS_USING_BATCHED_MODELS is disabled 2021-09-15 10:52:16 +02:00
enricoturri1966
b22b7c2bf4 Follow-up of 60b5e0d0d5 - Apply the change only on Windows 2021-09-15 08:30:09 +02:00
Lukas Matena
5dd905fc8c Added a forward declaration needed on GCC 9.4.0 2021-09-14 22:56:29 +02:00
Li Jiang
50b7a1df9f fix file import/open bug 2021-09-14 22:12:35 +02:00
enricoturri1966
f132ca9c3c Tech ENABLE_SINKING_CONTOURS set as default 2021-09-14 15:45:21 +02:00
enricoturri1966
bf21abfbfa Follow-up of d52ee52098 - Removed forgotten tech key 2021-09-14 15:17:24 +02:00
enricoturri1966
d52ee52098 Tech ENABLE_FIX_IMPORTING_COLOR_PRINT_VIEW_INTO_GCODEVIEWER set as default 2021-09-14 15:05:33 +02:00
Vojtech Bubnik
9d29eddf16 WIP: admesh eradication
follow-up to 58d8ab3dea
2021-09-14 14:51:40 +02:00
enricoturri1966
30d2c3787f Tech ENABLE_DELAYED_TRANSPARENT_VOLUMES_RENDERING set as default 2021-09-14 14:34:21 +02:00
Vojtech Bubnik
d749baf6bc Fix of 58d8ab3dea 2021-09-14 13:11:21 +02:00
Vojtech Bubnik
58d8ab3dea Removed the PRUS format parser. WIP: admesh eradication:
stl_stats are newly only accessed by TriangleMesh::stats(),
most of the direct access to TriangleMesh::stl is gone with the exception
of parsing input files (3MF, AMF, obj).
2021-09-14 11:58:14 +02:00
Lukáš Hejl
1c6ecd9c1a Replaced atof and atoi inside 3MF attribute parsing with fast_float::from_chars and boost::spirit that are faster. 2021-09-14 11:09:43 +02:00
enricoturri1966
a74f3e3fc0 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk_changes 2021-09-14 10:05:18 +02:00
Vojtech Bubnik
0a51afa3e6 Fix of Can't convert polyline with more than two points to a line (#6933)
Sometimes Clipper produces a polyline with more than 2 points when
clipping a line with a polygon or a set of polygons. We hope the intermediate
points are collinear with the line, so we may just ignore them.
2021-09-13 15:40:56 +02:00
Vojtech Bubnik
cab71073a1 Some reduction of unnecessary conversions when calling ClipperUtils. 2021-09-13 15:13:10 +02:00
enricoturri1966
60b5e0d0d5 Fixed wrong layout of preview's combos popup windows the first time they are open 2021-09-13 13:34:49 +02:00
Vojtech Bubnik
f9a5ee725d Follow-up to ae7d6db1d9
Exporting G-code on a worker thread did not work correctly as the worker
threads were using user's locale, not "C" locale.
The "C" locale is newly enforced to TBB worker threads by
name_tbb_thread_pool_threads_set_locale()
2021-09-13 13:04:12 +02:00
Vojtech Bubnik
e78d647cc2 Follow-up to e7591e6aa6
GCodeFormatter default copy constructor / copy operators were not safe
and they were used in debug mode.
2021-09-13 12:51:50 +02:00
Vojtech Bubnik
e7591e6aa6 GCodeWriter: published GCodeFormatter, made it more generic, so
it could be used outside of GCodeWriter.
Ported the GCodeWriter::retract/deretract to GCodeFormatter.
2021-09-13 11:55:44 +02:00
enricoturri1966
fda8ef6fce #5471 - Make the View controls 'sticky' 2021-09-13 11:16:13 +02:00
Vojtech Bubnik
880feb3a3d GCodeViewer slight opitmization: reuse (move) G-code line indices
in G-code viewer.
2021-09-13 10:41:28 +02:00
YuSanka
5a95794913 OSX specific: Improvements for wxMultiChoiceDialog: Height of a ChoiceListBox will respect to items count
This improvement fixed #6926 - Checkbox columns in modal windows are stretched (macOS)
2021-09-13 10:30:09 +02:00
Vojtech Bubnik
ae7d6db1d9 Parallelization of the G-code export.
Follow-up to
03b6048684
beee18f229
b5a007a683
etc
2021-09-13 10:04:21 +02:00
Lukas Matena
4ac013ec9c Fixed painting gizmos with modifiers below the bed:
- When a modifier was below the bed and all the object parts above, it would clip
  the modifier but not triangulate the cut.
- When an object part was below, it would triangulate all modifiers with
  opaque orange color.

Both should now be fixed.
2021-09-13 09:02:11 +02:00
Lukáš Hejl
d2a185ddb6 Optimized export of floating-point value inside emit_axis.
Change the behavior of generated G-code commands. Now all redundancy padding zeros are removed, which makes G-code a little bit smaller.
2021-09-11 00:54:30 +02:00
Lukáš Hejl
ad65366ac7 Added fast_float library as a replacement for std::from_chars and strtod. 2021-09-11 00:54:30 +02:00
YuSanka
670ec06b97 "CANCEL" button is deleted from "Support Generator" MessageDialog
to avoid confusions when "Supports mode" is switched from right panel
2021-09-10 15:31:18 +02:00
David Kocik
b9dab7540e Removes bottom status bar.
StatusBar class calls are commented out and replaced with notifications.
SlicicingProgress notification shows progress of slicing, ProgressIndicator notification handles other progress information, like arrange objects etc.
2021-09-10 14:35:13 +02:00
YuSanka
3db4804e47 MSW specific: ObjectList: Fixed eternal Editor Control
Steps to reproduce of a bug:
1. Add object
2. Click the Cog icon with the left mouse button
3. DoubleClick on name of object > An Editor Control appears that cannot be deleted any way
2021-09-10 14:08:07 +02:00
Vojtech Bubnik
dc4b783e9e Pimping up SpiralVase code, fix of 03b6048684 2021-09-10 12:10:00 +02:00
Vojtech Bubnik
03b6048684 Follow-up to beee18f229
WIP to G-code export parallelization through pipelining:
Decoupled CoolingBuffer from GCode / GCodeWriter, ready to be
pipelined on a different thread.
2021-09-10 11:43:59 +02:00
David Kocik
0d0c092880 Object warning notification
Opens when loading object, closes at deletion.
Replaces SimplifySuggesion.
2021-09-10 10:47:07 +02:00
enricoturri1966
37c9e20778 ENABLE_RELOAD_FROM_DISK_REPLACE_FILE - Search missing files in the same folder of the current project 2021-09-10 10:22:44 +02:00
enricoturri1966
638fc5a869 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_reload_from_disk_changes 2021-09-10 09:07:55 +02:00
enricoturri1966
8f4a6b3b7c Fixed color of objects in preview for SLA printers 2021-09-10 09:06:09 +02:00
enricoturri1966
8bd0f8ada9 Removed duplicated method GLVolumeCollection::check_outside_state() 2021-09-10 08:27:03 +02:00
YuSanka
ff82c82f52 MSW-specific: Application Mode Buttons: Added the orange-ish background over the bold font to indicate selection
(see comments for #6860)
2021-09-10 08:02:04 +02:00
YuSanka
0abab45efa ObjectDataViewModel: Fixed AddInfoChild() and Delete() functions
Delete () function did not account for InfoItems that were added before VolumeItems
As a result, There was possibility when deletion of penult VolumeItem wasn't invoke deletion of the last VolumeItem

AddInfoChild() was not respect to existed SettingsItem
SettingsItem have to be on a first place always.
2021-09-09 17:51:45 +02:00
YuSanka
9c5c9a0e78 ObjectList: Fixed a bug related to an update of selection in 3DScene.
Steps to repro:
1. Create some object with several parts.
2. Increase instances count.
3. Select some volume in ObjectList => all related volumes for each instance are selected in 3DScene (CORRECT)
4. Select last instance in ObjectList => all volumes (except one) of selected instance are selected in 3DScene (UNCORRECT).
                                         ALL volumes of selected instance have to be selected in 3DScene

Fix: To avoid lost of some volumes in selection
check non-selected volumes only if 3DScene-selection mode wasn't changed
or there is no single selection in ObjectList
2021-09-09 17:51:45 +02:00
enricoturri1966
3369e1b599 Fixed conflicts after merge with master 2021-09-09 11:01:49 +02:00
enricoturri1966
8701dd0c76 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_fix_options_z 2021-09-09 10:34:47 +02:00
enricoturri1966
fe8e2ae0d1 ENABLE_GCODE_VIEWER_STATISTICS - Fixed calculation of time required by GCodeProcessor 2021-09-09 09:35:58 +02:00
enricoturri1966
d3382b666f Fixed build on MAC 2021-09-08 15:47:27 +02:00
YuSanka
a115da6334 Fix for #6921 - Error while disabling filament overrides in Dutch language 2021-09-08 15:31:10 +02:00
Vojtech Bubnik
beee18f229 Follow-up to b5a007a683
WIP to G-code export parallelization through pipelining:
GCodeProcessor is called during the G-code export,
the G-code is no more reopened and re-read, but it is pipelined
from the G-code generator.
2021-09-08 15:06:12 +02:00
enricoturri1966
88d608351d Fix after merge with master 2021-09-08 14:34:31 +02:00
enricoturri1966
a33a737f52 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_fix_options_z 2021-09-08 14:33:20 +02:00
enricoturri1966
6f678c09d1 Tech ENABLE_FIX_PREVIEW_OPTIONS_Z - Enable fixing the z position of seams (and other options) in preview 2021-09-08 14:30:40 +02:00
enricoturri1966
9abebe5fbe Techs ENABLE_SEAMS_USING_MODELS and ENABLE_SEAMS_USING_BATCHED_MODELS - Fixed seams (and other options) zs to match toolpaths zs in preview 2021-09-08 13:04:43 +02:00
enricoturri1966
c12e5bb4ed Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_seams_as_batched_models 2021-09-08 11:37:05 +02:00
Vojtech Bubnik
0da0a7b2a0 Fix of recent GCode / GCodeProcessor refactoring: Don't close a FILE
twice.
2021-09-07 17:58:06 +02:00
Vojtech Bubnik
152e236dda Trying to fix the windows build 2021-09-07 17:31:36 +02:00
YuSanka
eb2debc2c6 ObjectList: Fixed DnD of Volumes inside the Object 2021-09-07 16:48:33 +02:00
Vojtech Bubnik
b5a007a683 WIP to G-code export parallelization through pipelining:
New class GCodeOutputStream as a G-code consumer.
In the following steps the GCodeOutputStream will be pipelined with
GCodeProcessor.
2021-09-07 16:23:43 +02:00
Vojtech Bubnik
32733b7db9 GCodeProcessor collects positions of line ends for GCodeViewer,
GCodeViewer no more parses G-code just to extract line end positions.
Removed start_mapping_gcode_window(), void stop_mapping_gcode_window(),
they are no more needed.
2021-09-07 15:42:56 +02:00
YuSanka
719c91514b ObjectList:: Allow use BACKSPACE to delete selected items 2021-09-07 15:19:59 +02:00
Vojtech Bubnik
e30ff22b8a GCodePostProcessor - use C files instead of C++ streams, C files are faster.
Also fixed a regression - crashes on undefined cancellation callback.
2021-09-07 14:20:21 +02:00
enricoturri1966
51df3cd163 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-07 12:25:35 +02:00
enricoturri1966
761c06ed92 GCodeViewer - Fixed crash when importing gcode generated with Simplify3D and switching to tool view 2021-09-07 12:25:30 +02:00
YuSanka
af20419ed4 Fix for #6903 - Compare presets window titles inaccurate... 2021-09-07 11:23:30 +02:00
Vojtech Bubnik
771a892776 Optimization of GCodeProcessor for speed. 2021-09-07 11:18:12 +02:00
enricoturri1966
c1c8a60271 Changed color for toolpaths whose extrusion role is unknown 2021-09-07 11:13:12 +02:00
Justin Schuh
5c9bc26ed5
Replace OpenProcess with GetCurrentProcess where appropriate (#6914)
GetCurrentProcess is more correct and resolves spurious AV warnings.
2021-09-07 09:45:10 +02:00
enricoturri1966
d35183921b Revert of 7b4c98d727, clamp toolpaths widths increased to 2mm and added default values for toolpaths width and height 2021-09-07 09:41:14 +02:00
Lukáš Hejl
0bc77cef3e Fixed build on Linux and macOS that was failing because of using std::to_chars and std::from_chars with floating-point values.
The old version of GCC and Clang support only integers to be passed to std::to_chars and std::from_chars. macOS older version of Clang doesn't support std::from_chars at all. So for Linux and macOS, it was replaced std::from_chars with strtod and temporarily was replace std::to_chars with snprintf.
2021-09-07 07:43:17 +02:00
Vojtech Bubnik
428509ac00 Pimped up GCodeProcessor::TimeProcessor::post_process():
replaced implicit lambda capture with explicit listing of captured
context for readability and code correctness. Captured this as const.
2021-09-06 18:08:13 +02:00
Jason Scurtu
b41e321473 rename 2021-09-06 16:19:30 +02:00
Jason Scurtu
07bdb5fbe3 add gcodeviewer 2021-09-06 16:19:30 +02:00
Jason Scurtu
ce0beabb43 add new mac icon and update MainFrame.cpp 2021-09-06 16:19:30 +02:00
enricoturri1966
7b4c98d727 #6828 - Clamping of toolpaths width performed only for gcodes files produced by 3rd part softwares (Tech ENABLE_CLAMP_TOOLPATHS_WIDTH) 2021-09-06 14:31:10 +02:00
enricoturri1966
ad41c3f01c Tech ENABLE_SEAMS_USING_MODELS - Fixed crash when enabling visualization of tool change markers in preview 2021-09-06 13:15:36 +02:00
enricoturri1966
9c8c44e4dd ENABLE_SEAMS_USING_BATCHED_MODELS - Fixed preview legend update 2021-09-06 11:37:59 +02:00
Jason Scurtu
d04ece92c3 folder not needed anymore. 2021-09-04 07:33:57 +02:00
Vojtech Bubnik
86d06b0be9 G-code processor tiny change: In place initialization 2021-09-03 17:22:53 +02:00
Vojtech Bubnik
97d1fe35ad G-code writer optimization: Don't use std::strstream, it is slow! 2021-09-03 17:22:28 +02:00
Vojtech Bubnik
dc72723911 Optimization of GCodeReader:
1) Use std::from_chars() instead of strtod()
2) Own implementation of buffered readline()
2021-09-03 16:21:45 +02:00
Vojtech Bubnik
d154752c38 Commenting out untested and unused Polyline::simplify_by_visibility() 2021-09-03 16:21:44 +02:00
Vojtech Bubnik
2e250c1463 Speed-up in GCodeViewer vertex buffer generator 2021-09-03 16:21:44 +02:00
enricoturri1966
7f2d1522ce Rendering seams (and other options) in preview using batched models on systems not supporting OpenGL 3.3 2021-09-03 15:35:44 +02:00
Lukas Matena
315663980b Do not allow 'replace by stl' when a gizmo is active,
some of the gizmos might not cope well. ALso avoided
code duplication in all such cases (currently fix by
Netfabb, simplify, replace by stl).
2021-09-03 13:53:07 +02:00
Lukas Matena
a4300b8e64 Naming of the entering/leaving snapshots is now more generic,
it uses the actual name of the gizmo. Also, the keyboard shortcut
is now appended to the name, instead of being duplicated in it.
2021-09-03 13:53:07 +02:00
Lukas Matena
4c80d9ed01 Fix taking entering/leaving snapshots in SLA gizmo:
This was broken between 2.2.0 and 2.3.0. The 'entering' snapshot
should be taken before the gizmo opens, not after. Otherwise it is
in fact the same as the next snapshot.
2021-09-03 13:53:07 +02:00
Lukas Matena
ed7ebf15d9 Added logging when bed texture/model is not found 2021-09-03 12:13:10 +02:00
Vojtech Bubnik
79784d1a2e Fix of "Support on build plate only" no longer overridden by support painting (#6863)
This is a regression to a late PrusaSlicer 2.4.0-alpha0 change
	8dfc0422a8
    Faster and hopefully more reliable projection of paint-on support
    blockers and enforcers on a sliced mesh.
    Previous d89f01c717 did not fix it.
2021-09-03 11:45:08 +02:00
David Kocik
cd4155a890 Hints.cereal file existence check 2021-09-03 10:19:06 +02:00
David Kocik
e630332e24 Added SS2OSD.dll to blacklist. Raises warning dialog for issue #6864 2021-09-03 09:29:15 +02:00
Jason Scurtu
c232decb2a
Flatpak changes for 2.4 (#6875)
* add gcodeviewer desktop file

* update metainfo

* add actions for GCodeViewer + DE translation
2021-09-02 16:41:50 +02:00
Vojtech Bubnik
d89f01c717 Fix of "Support on build plate only" no longer overridden by support painting (#6863)
This is a regression to a late PrusaSlicer 2.4.0-alpha0 change
	8dfc0422a8
    Faster and hopefully more reliable projection of paint-on support
    blockers and enforcers on a sliced mesh.
2021-09-02 16:29:21 +02:00
Lukas Matena
298825672b Fix painted seam on vertical surfaces (broken since 8dfc042) 2021-09-02 15:18:05 +02:00
Lukas Matena
18c8204837 Fix of #6873: Bed texture located in a directory that user has no permission to (crashed) 2021-09-02 14:37:29 +02:00
Lukas Matena
0efa0fc512 Fixed a crash when 'Repair by Netfabb' was called with multiple object selection,
the bug was introduced with 1eebaa4 and possibly manifested in other scenarios as well.
2021-09-02 14:20:04 +02:00
enricoturri1966
cc480afe9b Fixed build when tech ENABLE_GCODE_VIEWER_STATISTICS is enabled 2021-09-02 13:42:37 +02:00
Filip Sykala
cd80c67729 Merge branch 'fs_fix_Simplification' 2021-09-02 11:56:14 +02:00
Filip Sykala
3f923628aa fix
../src/libslic3r/QuadricEdgeCollapse.cpp:628:21: warning: comparison of integer expressions of different signedness: 'const int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
../src/libslic3r/QuadricEdgeCollapse.cpp:631:21: warning: comparison of integer expressions of different signedness: 'const int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
../src/libslic3r/QuadricEdgeCollapse.cpp:638:48: warning: comparison of integer expressions of different signedness: 'const int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
../src/libslic3r/QuadricEdgeCollapse.cpp:643:25: warning: comparison of integer expressions of different signedness: 'const int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
../src/libslic3r/QuadricEdgeCollapse.cpp:647:25: warning: comparison of integer expressions of different signedness: 'const int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
2021-09-02 11:41:11 +02:00
Filip Sykala
746300eafd Fix @(Lukas Matena) note about using NDEBUG 2021-09-02 11:24:33 +02:00
David Kocik
0cb08ebda4 fix of b45ae0170b 2021-09-02 09:54:29 +02:00
enricoturri1966
1545474261 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-09-02 09:49:13 +02:00
enricoturri1966
795ac7f297 Follow-up of 2bb14849f4 - Similar fix for Open Project command 2021-09-02 09:49:04 +02:00
David Kocik
42f4de94df Calling destructor of notifications manager and hint database
Ensures to translate hints after change of language
2021-09-02 09:48:06 +02:00
David Kocik
5f7a4982f6 Open menubar item by name with translations 2021-09-02 09:48:06 +02:00
enricoturri1966
2bb14849f4 #6866 - Do not clear plater when pressing Cancel button in the New Project confirmation dialog 2021-09-02 08:32:05 +02:00
Filip Sykala
f6f70f6fd4 Fix Crash when delete model during simplification 2021-09-01 20:29:27 +02:00
Filip Sykala
25feacfd95 FIX Creation of non volume place in mode during simplification 2021-09-01 19:15:16 +02:00
YuSanka
e6eae62584 MSW specific: Fixed a typo caused extension of PresetComboBox's height on SettingsTabs,
added comment for workaround
2021-09-01 16:08:18 +02:00
David Kocik
876e6fdddd Commented opening menubar item until its properly implemented. 2021-09-01 15:12:47 +02:00
Vojtech Bubnik
950c216239 Commented out AMF export. The format never took off, we don't want to
keep supporting it. Let's wait for user feedback.
2021-09-01 15:11:26 +02:00
Vojtech Bubnik
6158347379 Follow-up to #6817
1) Activate installed filament or SLA material profile after update_compatible(),
so that the compatiblity and visibility flags of presets are updated.
2) Only activate the first newly installed filament / SLA material profile
if the active printer did not change. This also means that if no filament
profile was active before Wizard was open or it became incompatible with
the newly installed Printer profile, the default filament profile assigned
to the activated Printer is activated preferably, which may or may not
be one of the newly installed filament profiles.
2021-09-01 14:37:20 +02:00
Lukáš Hejl
3b4d10656c Renamed 'Seed fill' to 'Smart fill'. 2021-09-01 14:32:34 +02:00
Lukáš Hejl
8ad109235b Added a missing include (GCC 11.1). 2021-09-01 14:28:42 +02:00
YuSanka
20453f412b Check unsaved changes before opening of the ConfigWizard 2021-09-01 13:48:40 +02:00
David Kocik
229cf4b8b6 Open menubar item by item index. Possible to call as hint notification hyperlink 2021-09-01 13:34:36 +02:00
enricoturri1966
639cf17e19 Fixed conflicts after merge with master 2021-09-01 13:28:10 +02:00
David Kocik
73e8f5aed2 Supress desktop integration of gcode viewer at ChromeOS 2021-09-01 12:58:36 +02:00
Vojtech Bubnik
ab84da6c56 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
Vojtech Bubnik
b0c4a13ebd Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-09-01 09:55:35 +02:00
enricoturri1966
95c05aae3b Fixed typo which broke export of toolpaths to obj file 2021-09-01 09:54:59 +02:00
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
Vojtech Bubnik
b29c0ead7d 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
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
f908197a77 Follow-up of 3abc71fa15 - Fixed call to trigger undo/redo snapshot 2021-08-31 14:19:32 +02:00
enricoturri1966
3abc71fa15 Allow to replace files found as missing during reload from disk command 2021-08-31 13:16:29 +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
enricoturri1966
ce3f51379a ENABLE_SEAMS_USING_MODELS -> Increased size of instances 2021-08-30 14:13:41 +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
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
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
14659cf760 Revert of d701dfe436 2021-08-30 08:29:50 +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
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
Filip Sykala
f90b10b63e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-08-26 14:21:59 +02:00
Filip Sykala
9f70afe44e Fix: Do not revert changes on change GLGizmoBase::m_state when apply was used 2021-08-26 14:21:54 +02:00
tamasmeszaros
9cffbc929e Fix unsliced objects when their dimensions are close to bed limits
fixes #6823
2021-08-26 13:39:22 +02:00
enricoturri1966
526700db76 Fixed conflicts after merge with master 2021-08-26 12:47:32 +02:00
enricoturri1966
306fbffdc0 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_save_command 2021-08-26 12:46:00 +02:00
enricoturri1966
39ec1a6318 Fixed conflicts after merge with master 2021-08-26 12:39:28 +02:00
enricoturri1966
2980418706 ENABLE_SEAMS_USING_INSTANCED_MODELS -> WIP: Render models using glDrawElementsInstanced 2021-08-26 12:37:55 +02:00
Lukáš Hejl
95e4ab9460 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
enricoturri1966
dbaaa35534 Tech ENABLE_SAVE_COMMANDS_ALWAYS_ENABLED -> 1st installment: Allow to save/load empty projects 2021-08-26 10:38:14 +02:00
enricoturri1966
dfd946e7c9 Merge remote-tracking branch 'origin/et_retract_acceleration' 2021-08-26 08:54:14 +02:00
Lukáš Hejl
1c25078bc3 Added a missing include (GCC 11.1). 2021-08-26 08:43:47 +02:00
enricoturri1966
8f3468030a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_retract_acceleration 2021-08-26 08:42:04 +02:00
enricoturri1966
67bc29299a Fixed sinking object popping up on bed when adding a modifier 2021-08-26 08:34:43 +02:00
enricoturri1966
f27448f322 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-08-26 08:06:44 +02:00
enricoturri1966
08b91d33e9 Fixed update of objects list in sidebar after deleting a part from a sinking object 2021-08-26 08:06:37 +02:00
Filip Sykala
673a2bdac8 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
Filip Sykala
9ea3be485f Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-25 16:56:24 +02:00
David Kocik
02dd1b5f7d rendering highlight arrow from svg 2021-08-25 16:31:31 +02:00
David Kocik
e6bae06557 Notice dialog when opening any link outside PrusaSlicer 2021-08-25 15:07:38 +02:00
enricoturri1966
ca098d5763 Fixed manipulation of sinking multipart objects resulting in wrong object/parts positioning 2021-08-25 15:01:15 +02:00
Filip Sykala
790d445420 Merge branch 'master' into fs_QuadricEdgeCollapse
# Conflicts:
#	src/slic3r/GUI/NotificationManager.hpp
2021-08-25 13:16:01 +02:00
Filip Sykala
9896a21904 @Vojta request --> change ratio to decimation ratio 2021-08-25 13:09:37 +02:00
tamasmeszaros
a918314aab Fix UI glitches when "fill bed" fails to add any additional instances 2021-08-25 13:01:08 +02:00
enricoturri1966
38cd7fea65 Fixed update of backend after the changes introduced with b3010a817b (Do not allow objects to be placed fully below bed) and pop object on the bed when only one part is left 2021-08-25 12:39:46 +02:00
Lukas Matena
3fc4cc84a7 Fixed invalidation when first_layer_height is changed 2021-08-25 12:01:51 +02:00
Filip Sykala
beb38d09ae Add reserve to mesh boolean operation 2021-08-25 10:51:11 +02:00
David Kocik
369f325f4e Delete unused variable 2021-08-25 09:52:27 +02:00
Vojtech Bubnik
783c9cf202 Fix of d3f11a6ab7 2021-08-25 09:34:43 +02:00
enricoturri1966
d701dfe436 Fixed deletion of objects/volumes by pressing Del key while the mouse cursor is hovering the objects list in sidebar 2021-08-25 09:11:20 +02:00
David Kocik
1c72351ba0 Erase updatedItemsInfo type from multiple-showing notifications list. 2021-08-24 17:31:34 +02:00
David Kocik
e65dc37401 Refactoring + throwing exception from random generator in hints 2021-08-24 17:23:58 +02:00
David Kocik
cfcfbc38d2 Hints notification random weighted order with saving used hints to cache/hints.cereal 2021-08-24 16:49:09 +02:00
Vojtech Bubnik
d3f11a6ab7 Follow-up to OctoPrint upload: ignore certificate revocation checks
6b03b66167

Renamed the new "printhost_ignore_check" option to "printhost_ssl_ignore_revoke"

Improved the Physical Printers dialog in regard to the new option checkbox
(added tooltip to the checkbox, moved it to the end of options).

Disabled the host_xxx options at the command line interface, they no
more work after these options were separated to Physical Printers profiles.

Little refactoring of Http.cpp/hpp, OctoPrint.cpp/hpp
Private local variables prefixed with m_, some renaming for clarity.
2021-08-24 13:57:52 +02:00
Vojtech Bubnik
c029cd44a4 Initialization of various Preset list of config options was made
thread safe.
2021-08-24 13:10:43 +02:00
Lukas Matena
16562a2e77 Do not print brim when object has raft, it is not supported and makes no sense 2021-08-24 12:43:56 +02:00
enricoturri1966
b6deda3477 Fixed object below bed after deleting part 2021-08-24 12:39:21 +02:00
enricoturri1966
dfdfb32648 Fixed update of project dirty state after discarding config changes 2021-08-24 12:17:47 +02:00
enricoturri1966
d4584b1158 Removed confirmation dialog for command Delete All 2021-08-24 12:09:30 +02:00
enricoturri1966
434a182b0a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-08-24 11:31:13 +02:00
enricoturri1966
c5cc4ce221 Fixed sequential print clearance contours not disappearing after undo 2021-08-24 11:31:04 +02:00
Vojtech Bubnik
6b03b66167 OctoPrint upload: ignore certificate revocation checks
Fixes Hostname incorrect While test is positive (Bonjour discovery not
supported for the address field) #1781
(partial fix of #1781)
2021-08-24 11:24:48 +02:00
tamasmeszaros
326fb51316 Force enable menu icons under GTK
GTK specific: Fixed missing icons for wxMenuItem on GTK2 and GTK3 for skins that haven't enabled showing an icon for gtk_image_menu_item by forcing showing icons for every skin.
2021-08-24 09:44:32 +02:00
Vojtech Bubnik
fefc20dbbb Slight refactoring of the project state. 2021-08-24 09:34:31 +02:00
enricoturri1966
19f88d015d Follow-up of ab6c638e44 -> Fixed logic to center objects loaded from 3mf files produced by 3rd part softwares 2021-08-24 08:25:04 +02:00
Filip Sykala
d7d4d52843 Fix
../src/libslic3r/QuadricEdgeCollapse.cpp:565:22: warning: comparison of integer expressions of different signedness: 'const int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp:48:15: warning: unused variable 'min_triangle_count' [-Wunused-variable]
../src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp:160:9: warning: unused variable 'wanted_count' [-Wunused-variable]
..\src\slic3r\GUI\Gizmos\GLGizmoSimplify.cpp(167): warning C4305: '=': truncation from 'double' to 'float'
2021-08-24 08:21:14 +02:00
enricoturri1966
b3010a817b Do not allow objects to be placed fully below bed 2021-08-24 07:46:59 +02:00
Lukas Matena
0be2e3bc71 Fixup of e5f0099 2021-08-23 21:16:58 +02:00
David Kocik
d96f75105f Parse hints.ini for translatable text as part of gettext_make_pot 2021-08-23 16:27:51 +02:00
Filip Sykala
db6c984b36 remove unused variable 2021-08-23 16:26:21 +02:00
Filip Sykala
db1458f99b Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-23 15:57:18 +02:00
Filip Sykala
b555910185 Simplify dialog,
remove fast reduction - create mistake
2021-08-23 15:57:09 +02:00
Lukas Matena
e5f0099ded Fixed ProjectDropDialog: it sometimes did something else than selected 2021-08-23 15:34:53 +02:00
enricoturri1966
1f8b134a77 Changed app title when the current project is modified and non yet named 2021-08-23 12:40:28 +02:00
Filip Sykala
89819c1c22 Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-23 11:33:14 +02:00
Filip Sykala
1aa4b32fa7 Create multiple simplify notification 2021-08-23 11:31:38 +02:00
enricoturri1966
fb1334af85 #5798 - Fixed naming of single part objects when loaded from 3mf files produced by 3rd part softwares 2021-08-23 11:23:31 +02:00
Vojtech Bubnik
1d6ade1d9c Optimization of ConfigBase::equals() to not create intermediate
list of modified options.

Optimization of DynamicConfig::equals(), ::diff(), ::equal()
to iterate over the two compared std::map trees instead of
first generating a list of keys and then searching for each key
in the respective map.

Optimization of PresetCollection::current_is_dirty() and ::saved_is_dirty()
to call DynamicConfig::equals() instead of ::diff().
2021-08-23 10:47:47 +02:00
David Kocik
c0ff8b8888 Fix of hint notification button Open Gallery. Deselects all objects prior opening gallery. 2021-08-23 10:07:12 +02:00
enricoturri1966
720a65c4fd #6806 - Fixed naming of multipart objects when loaded from 3mf files 2021-08-23 09:57:35 +02:00
Lukas Matena
24d2f510c5 Fixed painting on surfaces close to the bed (broken since 1360446) 2021-08-23 09:47:37 +02:00
Vojtech Bubnik
30bca80cc5 Fix of Top solid infill settings cannot be changed in Vase mode #4241 2021-08-23 08:50:10 +02:00
Merill
64fc2eb425
error when loading configbundle (#6822)
a little typo
2021-08-23 08:09:25 +02:00
Vojtech Bubnik
f9af9aa907 Improved wording of "reserved words in G-code" error message. 2021-08-20 16:47:43 +02:00
Vojtech Bubnik
07186dac99 Improved wording of "does not look like a sign" notification. 2021-08-20 16:47:01 +02:00
Vojtech Bubnik
9a54c21c19 Disabled "expensive checks" in debug mode, TriangleSelector 2021-08-20 16:46:38 +02:00
Vojtech Bubnik
2a7f204859 Fixed update of slicing back-end with MMU-painted objects after change
of a printer from MMU to non-MMU (when number of extruders changes).
Also slightly optimized in case a MMU-painted object is sliced in
single extruder mode.
2021-08-20 16:19:00 +02:00
Vojtech Bubnik
8ce36fb8f1 Improved wording of message boxes popping up on
looks_like_saved_in_meters() and looks_like_saved_in_inches()
2021-08-20 16:19:00 +02:00
enricoturri1966
d7eca05206 Removed 'Set auto color changes' menu item from GCodeViewer 2021-08-20 15:48:27 +02:00
enricoturri1966
ab6c638e44 Always center on the bed objects loaded from 3mf produced by 3rd part softwares 2021-08-20 15:06:42 +02:00
Filip Sykala
6d895872b0 call render in main thread by function callAfter(hint by @Vojtech) 2021-08-20 14:29:52 +02:00
Vojtech Bubnik
c821b0a3ad Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-08-20 14:21:33 +02:00
Vojtech Bubnik
f98f7ba3e8 Fixed unreliable application of filament overrides to PlaceholderParser.
Sometimes the PlaceholderParser used main config instead of filament
overrides and vice versa.
Follow-up to #3649
2021-08-20 14:21:22 +02:00
tamasmeszaros
6efea25478 Change UI job's process() method to be protected, as it should have been
Also add some comments to the interface of Job class
2021-08-20 13:43:52 +02:00
tamasmeszaros
883f46662d Fix warnings when newer CMake is used.
project() call should always come AFTER cmake_minimum_required(). This caused various hard-to-debug issues when searching for packages. 

Newer CMake versions complain that compatibility is broken with v2.6
2021-08-20 13:42:10 +02:00
enricoturri1966
79e8e8627f Tech ENABLE_FIX_MIRRORED_VOLUMES_3MF_IMPORT_EXPORT - fixed export/import to/from 3mf file of mirrored volumes 2021-08-20 11:24:48 +02:00
Lukas Matena
7e0e552fd2 Moved raft_first_layer_density and raft_first_layer_expansion from 'Raft' section to 'Support material',
the values are also used for first supports layer when raft is disabled.
2021-08-20 10:22:17 +02:00
YuSanka
ea4e9b35a3 Fix for #6803 - Illegal character in filename when STL opened direct from CAD app 2021-08-20 09:38:35 +02:00
enricoturri1966
4ebcbca711 Fixed sequential print clearance contours not disappearing when switching to SLA printer 2021-08-20 09:36:53 +02:00
Filip Sykala
8fab4885c7 Add dirty state into Gizmo (hint by @DavidKocik) 2021-08-20 09:13:09 +02:00
Filip Sykala
cce3041a95 Add warning as tip for simplify big model. 2021-08-20 07:53:33 +02:00
tamasmeszaros
421089ebc8 Possibility to link curl and glew dynamically in static mode. 2021-08-19 16:56:22 +02:00
David Kocik
f1f3e22a10 Desktop integration: escaping \' inside executable path 2021-08-19 15:21:44 +02:00
David Kocik
8f58b11b08 Rotated arrow asset. 2021-08-19 14:01:54 +02:00
David Kocik
6d44bde96d Progress notification: fix of wrong method call. 2021-08-19 12:36:31 +02:00
enricoturri1966
adfb5b6b49 Small refactoring into GLModel::render() 2021-08-19 12:12:25 +02:00
David Kocik
c08b4be0e6 Fix of missplaced checkbox Perform desktop integration in config wizard. 2021-08-19 11:00:36 +02:00
David Kocik
97418cf9f5 Desktop integration in config wizard ifdef 2021-08-19 10:27:29 +02:00
Lukas Matena
b686b5764e Fix opening of gizmos after clicking on info lines in object list when object has instances 2021-08-19 10:23:38 +02:00
David Kocik
12328a74f7 Desktop integration changes
empty catch block fix
internal namespace fix
wrong app config var
Desktop integration for regular executables
cmake option SLIC3R_DESKTOP_INTEGRATION
cmake dependent option
escape executable path in desktop file by adding /'
Error messages instead of notifications.
2021-08-19 10:18:40 +02:00
enricoturri1966
f44d2e14a1 Removed debug code 2021-08-19 09:47:01 +02:00
enricoturri1966
81113218cc Added retract acceleration member variable to GCodeProcessor and modified GCodeProcessor::process_M204() method 2021-08-19 09:38:51 +02:00
tamasmeszaros
a3b089eceb Remove misleading comment 2021-08-18 16:51:14 +02:00
tamasmeszaros
1672130d45 Remove code duplication, clarify naming of orientation searches 2021-08-18 16:48:51 +02:00
tamasmeszaros
74edeb147b Add min z height orientation search 2021-08-18 16:48:51 +02:00
Oleksandra Yushchenko
caf8ef4aab
Auto selection of presets (#6817)
PresetComboBoxes: Auto selection of printer/material preset from the new added presets in ConfigWizard
+ Check unsaved changes if ConfigWizard is running from the PesetComboBoxes
2021-08-18 16:10:35 +02:00
Lukas Matena
5be61fb31c Fix build on Linux (gcc 8.4) 2021-08-18 15:29:51 +02:00
YuSanka
a3f995ac45 Add "Revert" buttons for text colors Settings 2021-08-18 15:03:06 +02:00
enricoturri1966
120be3a76d Fixed compile warning 2021-08-18 13:04:45 +02:00
Filip Sykala
cc48f6c6a4 Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-18 12:08:00 +02:00
Filip Sykala
27fcf55eaa Add cancel and statusFn into init phase of simplification
Move debug functions into NDEBUG macro
2021-08-18 12:07:46 +02:00
Lukas Matena
8a5278354e Fixed updating of cut contour in cut gizmo by comparing ObjectIDs,
for consistency with other gizmos and hopefully more robustness
2021-08-18 11:49:30 +02:00
Lukas Matena
3cf6d1c888 Revert 740067c and e645f4a
740067c: "Fixed cut contours in gizmo cut after deleting an object"
e645f4a: "Fixed cut contours after cutting an object in gizmo cut"
2021-08-18 11:44:21 +02:00
Filip Sykala
cc88b1e86b Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-18 10:37:21 +02:00
Filip Sykala
1e863cc031 Add restriction for simplification
Refuse outgoing during simlification.
Refuse start simplification when other Gizmo is active
Fix close after preview to revert changes
Allow change model for simplification
2021-08-18 10:37:08 +02:00
enricoturri1966
740067c576 Fixed cut contours in gizmo cut after deleting an object 2021-08-18 10:23:18 +02:00
enricoturri1966
9767747b3b #6796 - Fixed crash when selecting Thick Bridges option and then slicing 2021-08-18 09:54:21 +02:00
tamasmeszaros
5e0cbbef83 Fix SLA support strut piercing into model 2021-08-18 09:36:01 +02:00
enricoturri1966
432629ec97 Fixed compile warning 2021-08-18 09:08:39 +02:00
enricoturri1966
e645f4a4ee Fixed cut contours after cutting an object in gizmo cut 2021-08-18 08:59:56 +02:00
tamasmeszaros
4e32863b99 Merge branch 'tm_rotfinder_fixes' 2021-08-17 16:15:41 +02:00
tamasmeszaros
24815381d2 Some improvements to "less supports" optimizer 2021-08-17 15:40:01 +02:00
tamasmeszaros
1a2e58e521 Add better defined names for orientation optimizer goals 2021-08-17 15:35:52 +02:00
Filip Sykala
11c91d781e FIX: extra frame request
Do not freeze bargraph in Siplify dialog when no mouse move.
2021-08-17 15:28:08 +02:00
Lukas Matena
86c1e5c50f Default values for brim_offset anf elefant_foot_compensation set to zero 2021-08-17 15:09:34 +02:00
Lukas Matena
82373334bc Merge remote-tracking branch 'origin/lh_brim_offset' 2021-08-17 15:02:41 +02:00
Lukas Matena
dd1e1307be Use Del key to delete custom supports etc. from the object list 2021-08-17 10:05:03 +02:00
YuSanka
08e2e29afd ObjectList: Implemented interface for delete InfoItem 2021-08-17 10:05:03 +02:00
Lukas Matena
5a005e8e0a Slightly changed 'Some objects missing' warning text 2021-08-17 10:04:56 +02:00
Filip Sykala
090728b9d5 Add private member prefix m_ 2021-08-17 08:58:45 +02:00
tamasmeszaros
db7f424e46 Merge branch 'tm_rotfinder_fixes' 2021-08-16 16:43:08 +02:00
tamasmeszaros
c37bb0cdd1 Extend tooltip texts 2021-08-16 16:42:56 +02:00
tamasmeszaros
900814ff47 Add tooltips for combo items in rotation optimization dialog 2021-08-16 16:03:20 +02:00
Filip Sykala
268b06bdbb fix position of window 2021-08-16 15:30:33 +02:00
Filip Sykala
21fd35d243 Fix: Do not close dialog after preview 2021-08-16 13:06:51 +02:00
Lukas Matena
0b2ee3bb46 SLA supports: ask about saving changes when Esc is pressed 2021-08-16 13:05:31 +02:00
Filip Sykala
b90ca142a5 Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-16 11:56:56 +02:00
Filip Sykala
6745076e79 Merge branch 'fs_QuadricEdgeCollapse' of https://github.com/prusa3d/PrusaSlicer into fs_QuadricEdgeCollapse 2021-08-16 11:55:43 +02:00
Filip Sykala
62f8ab1cbe Add check of neighbors
Add store triangle for debug purpose
2021-08-16 11:53:37 +02:00
tamasmeszaros
8b5a63eaf8 Make the input mesh transformation consistent.
Also add some comments
2021-08-16 11:29:48 +02:00
tamasmeszaros
11b994a702 Rotfinder fixes wip 2021-08-16 11:29:22 +02:00
Vojtech Bubnik
d569789285 Fixes after merging 2.3.2/2.3.3 changes from stable to master. 2021-08-13 14:53:13 +02:00
Vojtech Bubnik
add67d769a Fix of 2.3.2 regression in configuration layer (reading of nullable
boolean vectors)
Fix of Filament overrides on saved 3MF MMU profiles are broken #6711
2021-08-13 13:53:09 +02:00
Vojtech Bubnik
b8531b86e4 Changed one line in CZ dictionary for the Configuration Substitutions
dialog.
Fixed one bug in the preceding commit.
2021-08-13 13:52:49 +02:00
Vojtech Bubnik
1c078b1f47 Improved error handling when installing configuration updates:
In case the configuration snapshot cannot be taken before installing
configuration updates (because the current configuration state
is invalid), ask user whether to continue or abort.
2021-08-13 13:51:29 +02:00
Vojtech Bubnik
5ca4848980 Adjusted wording of the config substitution dialog. 2021-08-13 13:50:08 +02:00
bubnikv
16104587ac Improvement in the subtitution information dialog. 2021-08-13 13:49:43 +02:00
bubnikv
14330b02b3 Workaround for OSX file picker. Saving SL1S files did not work, the file
picker replaced the SL1S extension with SL1.
2021-08-13 13:48:55 +02:00
bubnikv
26822347ed Forward compatibility, parameter susbtitution: Substitute vector values
(extruder specific) with their default, if the default
is a single value vector.
Show the "Physical Printers" label in the substitution window.
2021-08-13 13:48:28 +02:00
bubnikv
3a0b71deed Configuration compatibility - implemented substitution and reporting for vectors
of bools (including the nullable bools).
2021-08-13 13:48:12 +02:00
bubnikv
5b843aa291 Fix of the previous commit. 2021-08-13 13:47:07 +02:00
bubnikv
bd159f4e52 Fixed typo in SL1S file mask template. 2021-08-13 13:46:59 +02:00
bubnikv
c7691ec95e Forward compatibility - config substitutions:
1) Verify whether a value looks like an enum
2) Always report substitution of an enum with a boolean.
2021-08-13 13:43:33 +02:00
bubnikv
4fa651456d Support for CurWa CW1S firmware updater. 2021-08-13 13:41:49 +02:00
YuSanka
e199dd5b20 Follow-up 88d5f40b7c - Small fix for text formatting 2021-08-13 13:41:09 +02:00
YuSanka
ca530717e0 MSW specific: Fixed a crash on change of the extruder using keyboard 2021-08-13 13:40:55 +02:00
YuSanka
21dfb05384 InfoDialog: Improvements
* Fixed localization
* Substitutions are aligned in table
2021-08-13 13:40:47 +02:00
Vojtech Bubnik
cfc0ae7ef3 Ammended the previous commit (SL1 / SL1S in file picker) 2021-08-13 13:40:25 +02:00
Vojtech Bubnik
a25d2d1de4 Support for SL1S printer:
Where SL1 is mentioned, mention it as SL1 / SL1S.
Support loading / saving of SL1S files in addition to SL1.
2021-08-13 13:40:13 +02:00
tamasmeszaros
0094d50d93 Move show_substitutions_info() call into UI thread 2021-08-13 13:39:33 +02:00
Vojtech Bubnik
965c2f2c55 Improved error reporting when importing various configuration files:
1) Slic3r::RuntimeError was replaced with ConfigurationError,
   all exceptions thrown by the configuration layer are derived
   from ConfigurationError.
2) When parsing configuration files, ConfigurationError is catched and
   rethrown extended with the file name being parsed.
2021-08-13 13:37:24 +02:00
YuSanka
4cbe7a9545 If configuration update is available, show Dialog with information about it before ConfigWizard is opened 2021-08-13 13:36:08 +02:00
Vojtech Bubnik
5dac5a2ca5 Fixed missing include 2021-08-13 13:35:06 +02:00
Vojtech Bubnik
856da036eb Fixed loading of system presets with incompatible system profile keys
before the "reconfigure" dialog is shown.

Replaced boost::filesystem::copy_file() with Slic3r::copy_file()
in config snapshot loading code.
2021-08-13 13:34:40 +02:00
YuSanka
1e60acde12 Substitutions : Implemented InfoDialog 2021-08-13 13:30:50 +02:00
Lukáš Hejl
731ac9287e Added a missing include (GCC 11.1) 2021-08-13 12:00:55 +02:00
YuSanka
88c8134f15 AutoColorChange detection: Small improvements - at least 25% (instead of 30%) of object's height have to be a solid 2021-08-13 11:00:30 +02:00
Vojtech Bubnik
8e28ca6f4a Fixed reading of configuration from 3MF broken
with e947a29fc8
2021-08-13 10:52:54 +02:00
David Kocik
117485c562 Notifications: MMU segmentation icon 2021-08-12 15:29:33 +02:00
Vojtech Bubnik
e947a29fc8 Follow-up to 7c01ddf996
1) Starting with this commit, configuration block exported into G-code
   is delimited by "; prusaslicer_config = begin" and "; prusaslicer_config = end".
   These delimiters look like any other key / value configuration pairs
   on purpose to be compatible with older PrusaSlicer config parsing from G-code.
2) Config parser from G-code newly searches for "; generated by ..."
   comment over the complete G-code, thus it is compatible with various
   post processing scripts extending the G-code at the start.
3) Config parser from G-code parses PrusaSlicer version from
   the "; generated by PrusaSlicer ...." header and if the G-code was
   generated by PrusaSlicer 2.4.0-alpha0 and newer, it expects that
   the G-code already contains the "; prusaslicer_config = begin / end"
   tags and it relies on these tags to extract configuration.
4) A new simple and robust parser was written for reading project configuration
   from 3MF / AMF, while a heuristic parser to read config from G-code located
   at the end of the G-code file was used before.
2021-08-12 15:27:46 +02:00
YuSanka
ac86c7c022 ObjectList: Update InfoItems after set some instance as a separate object 2021-08-12 15:23:31 +02:00
YuSanka
3ca2b2bc71 ObjectList: Added separate icons for InfoItems 2021-08-12 15:02:24 +02:00
Lukas Matena
2be10569e2 Add painting gizmos shortcuts into keyboard shortcuts dialog 2021-08-12 13:38:53 +02:00
Lukas Matena
c44715f9e0 Moved 'brim_offset' option into Advanced mode (same as EFC) 2021-08-12 13:38:53 +02:00
David Kocik
483684f702 Delete inline in some functions 2021-08-12 11:30:25 +02:00
YuSanka
66435887ea Revert of the 84c6199015
Note: When ProgressDialog has no-nullptr parent, then PrusaSlicer doesn't lose the focus at the end of model fixing,
but start to flickering during fixing of the big models.
2021-08-12 12:51:27 +02:00
YuSanka
37ba18a8c3 DoubleSlider: Init extruder sequence in respect to the extruders count 2021-08-12 12:40:14 +02:00
David Kocik
f3371a3b84 warning fix 2021-08-12 08:49:38 +02:00
David Kocik
23b1bc07a4 narrow mr. clippy logo 2021-08-12 08:46:59 +02:00
YuSanka
131d2ace50 Check min/max values for SpinCtrls in Settings Tabs
+ Set max value for "extruders_count" to 256
2021-08-12 10:20:52 +02:00
Lukas Matena
021688fe50 Fix place on bed and sinking instances:
all sinking objects were incorrectly shifted to bed when
'place on face' was applied to any object.
2021-08-12 10:17:59 +02:00
Lukas Matena
52718e96f5 Moved flatpak files from resources/data to src/platform/unix (#6774) 2021-08-12 08:49:24 +02:00
Lukas Matena
7f2ad140b6 Fix a crash recently introduced by b14faf6 (reported in #6794) 2021-08-11 22:03:26 +02:00
David Kocik
4df2c969a5 Hint notification
changes in hints.ini
Hint notification: Just one button in Help menu.
Hint notification: New naming - Tip of the day
Notifications: no scrolling.
Hint notification: fadeout colors.
2021-08-11 17:15:23 +02:00
Lukas Matena
fc1054c61d Restored info icon replaced by mistake 2021-08-11 16:17:28 +02:00
Lukas Matena
b14faf627b Do not show sinking contours when a gizmo hides some objects 2021-08-11 16:17:28 +02:00
YuSanka
83ab034f9a Fixed ENTER for ComboBoxes and TextCtrls in Settings Tabs (related to #6692)
+ Code cleaning : Deleted unused set_focus
2021-08-11 16:01:54 +02:00
YuSanka
3a2a9d8500 Follow up c0a00f4e70 - Check unsaved changes only if project wasn't saved 2021-08-11 15:40:57 +02:00
Lukas Matena
3605016696 Speed-up of clipping plane 2021-08-11 15:06:29 +02:00
Lukas Matena
9632e6fa6a New icons for mmu painting, fuzzy skin and object info items 2021-08-11 13:52:15 +02:00
Lukas Matena
7e0a2644e2 Fixup of previous commit 2021-08-11 13:38:28 +02:00
Lukas Matena
49ead341ba Follow-up of cf32b56 (postprocessing scripts):
- The optional output_name file might contain the .pp suffix.
- In case the file contains just filename, prepend it with the
  output dir. We don't want to save to current workdir.
2021-08-11 12:12:50 +02:00
Vojtech Bubnik
7a60e8cb3a Follow-up to 215ee293ae:
More robust CLI parser.
2021-08-11 09:49:23 +02:00
David Kocik
d735dbe147 Updated Items Info notification
Showing only when new object is added (typically loading projects).
All info in 1 notification.
2021-08-11 09:24:14 +02:00
Lukáš Hejl
18cff61bd2 Reworked visualization of selected triangles by seed fill and bucket fill inside the multi-material painting gizmo. Now is drawn boundary around a selected area, and also all triangles inside the selected area are drawn with a darker color. 2021-08-10 21:38:48 +02:00
Lukáš Hejl
e5ce748b10 Added missing includes (GCC 11.1) 2021-08-10 21:37:10 +02:00
David Kocik
0e6d77d25a Hints notifications: OS specific tags 2021-08-10 15:25:47 +02:00
Vojtech Bubnik
cf32b56454 Implemented extension of the G-code post-processor framework:
1) New environment variable SLIC3R_PP_HOST contains one of
   "File", "PrusaLink", "Repetier", "SL1Host", "OctoPrint", "FlashAir", "Duet", "AstroBox" ...
2) New environment variable SLIC3R_PP_OUTPUT_NAME contains the name
   of the G-code file including path (for SLIC3R_PP_HOST == "File")
   or a name of the file after upload to the host (PrusaLink, Octoprint ...)
3) The post-processing script may suggest a new output file name
   (likely based on SLIC3R_PP_OUTPUT_NAME) by saving it as a single line
   into a new "output name" temp file. The "output name" file name is
   created by suffixing the input G-code file name with ".output_name".

Please note that the G-code viewer visualizes G-code before post-processing.

Fixes Broken PostProcessing when script changes out-filename #6042
2021-08-10 15:22:01 +02:00
Lukas Matena
9e32a00efc Fix of incorrect volume scaling after fix by Netfabb,
see the comment in the code as to why it happened
2021-08-10 15:20:35 +02:00
YuSanka
ad60227449 MSW specific: Fixed a typo caused ignoring ENTER for TextControls in Settings Tabs
+ Added Info icon for MessageDialog
2021-08-10 15:10:37 +02:00
David Kocik
06d27bcb3c Hints notification
Hints notification: enabled / disabled tags 
Hints notification: suppress opening url due to preferences.
Hint notification: close after 5 minutes and button in Help menu
2021-08-10 14:48:23 +02:00
Oleksandra Yushchenko
ed25d5c53d
Fix for #6692 - Slice button not appearing after infill change 2021-08-10 12:32:00 +02:00
YuSanka
c0a00f4e70 Fix for - Profile save dialog should appear when application is closed and when don't save project is selected
Note: show UnsavedChangesDialog even if there is an object in the scene
2021-08-10 11:42:48 +02:00
Lukas Matena
a5ebd45d4d Renamed 'MMU segmentation; to 'Multimaterial painting' 2021-08-10 11:26:46 +02:00
Lukas Matena
1eebaa4576 Update info items in object list after repair by netfabb,
painted data are removed and the info line stays hanging
2021-08-10 11:22:19 +02:00
YuSanka
d88ef826cd Fixed Sinking not visible in right panel after project import 2021-08-10 10:36:36 +02:00
Lukáš Hejl
58f83b5e6a The offset is applied after the elephant food compensation. The value of the brim offset is now also measured from the object after the elephant foot compensation. Thus, the brim offset set to zero means that the brim will touch the object even if elephant foot compensation is enabled. 2021-08-10 09:44:39 +02:00
Vojtech Bubnik
04d6b17c57 Fix of Some FDM supports fail to generate due to wrongly-translated enforcer polygons. #6739
Thanks @n8bot for finding the bug.
Also removed some dead code in MM segmentation.
2021-08-10 09:41:28 +02:00
Vojtech Bubnik
9f9cbb46f9 Suppor of "No extrusion" firmware flavor by not emitting the E axis.
Fix of https://github.com/prusa3d/PrusaSlicer/issues/6023
The fix is partial: No extrusions are shown by the final G-code preview.
2021-08-09 17:37:35 +02:00
YuSanka
d6370a16fa DoubleSlider: Fix for #6756 - Cannot Color Change (M600) at height when MMU Painting
+ Fixed update for the ruler when "No sparce layer" option is enabled
2021-08-09 17:30:51 +02:00
David Kocik
b43f225ac8 Hint notification fixes and improvements
Hint notification bold (diff color) headline on multiple lines
Hint notification: Documentation link button.
Hints.ini header
hints logo - clippy 
disabled a preffered modes and techs for hints notifications
Empty hints array check. Fix of #6774.
2021-08-09 17:10:39 +02:00
YuSanka
4efce682e1 Fix for #6782 - Clicking On Another Modifier while Changing a Modifier Parameter crashes PrusaSlicer 2021-08-09 13:38:48 +02:00
YuSanka
1f131d130f DoubleSlider with MM-printer preset: When Object has "Paint-on segmentation", DoubleSlider has same behavior as with modifiers
+ MSW specific: Use BitmapComboBox instead of wxBitmapComboBox to DarkMode for extruder selectors
2021-08-09 13:38:48 +02:00
Lukas Matena
ef30cc8690 Fixup of previous commit: there are two more painting gizmos 2021-08-09 11:49:48 +02:00
Lukas Matena
13604469fd Painting gizmos and sinking objects:
1. Do not show what's below the bed when a gizmo is open
2. Triangulate the cut so people don't see inside
3. If regular clipping plane is used, the cuts are mutually clipped by one another
4. Painting itself ignores the hidden part of the object
2021-08-09 10:47:51 +02:00
Lukáš Hejl
b174dacc85 Added a missing include (GCC 11.1) 2021-08-07 08:29:32 +02:00
Lukas Matena
0ccc791750 Merge branch 'fs_QuadricEdgeCollapse' 2021-08-06 18:23:49 +02:00
Lukáš Hejl
dd55b55853 Swapped the position of seed fill and bucket fill inside the multi-material gizmo. Changed the default value for the seed fill angle. 2021-08-06 16:46:48 +02:00
Lukáš Hejl
56d4ba7a29 Fixed the issue when the object was selected by seed fill or bucket fill could stay selected when the painting tool was switched to brush. 2021-08-06 16:46:48 +02:00
Lukáš Hejl
666cdeecd9 Forced recomputation of seed fill selected areas when the seed fill angle is changed by ALT+mouse wheel. 2021-08-06 16:46:48 +02:00
Lukáš Hejl
cf2a7f4dfa Fixed the possibility of changing brush size in the multi-material gizmo by ALT+mouse wheel when brush for painting single triangles is selected. 2021-08-06 16:46:48 +02:00
Lukas Matena
17860fb38a Added cancel button into 'Save support points?' message box, changed the title 2021-08-06 16:30:02 +02:00
Lukas Matena
85c7dea1a9 Finished concept of gizmos with no toolbar icon:
on_is_selectable and on_is_activable functions are now completely independent,
the former says if there shall be an icon in the left toolbar, the latter
says if the gizmo can be activated (by a shortcut or GLGizmoManager::open_gizmo)
2021-08-06 16:08:04 +02:00
Filip Sykala
ef5c94f90a Fix: prevent degeneration of model during simplification 2021-08-06 15:11:20 +02:00
YuSanka
b1330580b3 MessageDialog: Set html page size respecting to text size
+ Fixed layout of the unit in "Height ranges" panel
2021-08-06 15:08:11 +02:00
YuSanka
d543d2f29d Fixed "volume is splittable" detection 2021-08-06 15:04:23 +02:00
Lukas Matena
01f32e18d6 Fixed build on Linux, abs->std::abs 2021-08-06 13:03:30 +02:00
YuSanka
c09e7fb2e2 MSW-specific: Notebook control: Fixed layout of notebook tabs 2021-08-06 11:37:28 +02:00
Vojtech Bubnik
deda13ffc7 Fixed previous commit 2021-08-05 17:34:04 +02:00
Vojtech Bubnik
54897aeac0 Fixed previous commit 2021-08-05 17:33:41 +02:00
Vojtech Bubnik
ea5a90f08c Merge remote-tracking branch 'remotes/origin/master' into fs_QuadricEdgeCollapse 2021-08-05 17:17:18 +02:00
Vojtech Bubnik
49fdf3da7b follow-up to a86e7107a5:
Make is_converted_from_meters / is_converted_from_inches exclusive-or.
Maybe it would be better to make a single enum from the two booleans,
if they are exclusive-or?
2021-08-05 15:35:44 +02:00
Lukas Matena
413dc8d6ec Revert "Restoring custom supports/seams after reload from disk"
This reverts commit d001195ebd. It makes no sense,
reload from disk is used when the file has changed, which means the paint-on
data are possibly meaningless or even completely wrong (referencing
triangles that no longer exist)
2021-08-05 15:18:18 +02:00
enricoturri1966
34da899c66 Temporary tech ENABLE_SEAMS_USING_INSTANCED_MODELS -> WIP (still missing opengl calls) 2021-08-05 15:08:49 +02:00
Lukas Matena
215ee293ae CLI parsing: allow giving explicit values for bool options, improved error reporting:
It is now possible to use e.g. --ensure-on-bed=0 for bools (meaning the same as --no-ensure-on-bed).
Using --no- prefix on non-boolean is an error (--no-ensure-on-bed=1)
Providing a value for --no- prefixed bool is an error (--no-loglevel 5)
2021-08-05 13:45:16 +02:00
enricoturri1966
252935dde7 Techs ENABLE_SEAMS_USING_MODELS + ENABLE_GCODE_VIEWER_STATISTICS -> Added instances counter 2021-08-05 10:19:02 +02:00
enricoturri1966
73464c76b9 Techs ENABLE_SEAMS_USING_MODELS + ENABLE_GCODE_VIEWER_STATISTICS -> Fixed detection of used memory to store instances data 2021-08-05 09:35:12 +02:00
enricoturri1966
8c4e203e1d Tech ENABLE_SEAMS_USING_MODELS -> Use new options visualization only if OpenGL 3.1 or greater is detected 2021-08-05 09:09:07 +02:00
enricoturri1966
fd81041adb Fixed build warnings on non-Windows OS 2021-08-05 08:10:42 +02:00
Lukas Matena
e76b54b770 Follow-up of bc81c22e (renamed the new CLI option --dont-ensure-on-bed to avoid double negatives) 2021-08-04 15:44:35 +02:00
enricoturri1966
1b03eec234 Fixed build of tech ENABLE_SEAMS_USING_MODELS when tech ENABLE_GCODE_VIEWER_STATISTICS is disabled 2021-08-04 15:23:37 +02:00
enricoturri1966
55bac68603 Tech ENABLE_SEAMS_USING_MODELS - 1st installment 2021-08-04 15:13:43 +02:00
enricoturri1966
c4ec355f41 Added function to generated diamond shaped model 2021-08-04 13:58:44 +02:00
enricoturri1966
93db27f40c A bit of refactoring into GCodeViewer 2021-08-04 13:49:51 +02:00
enricoturri1966
329f9a77c2 Colors defined as std::array<float, 4> in GCodeViewer 2021-08-04 13:27:42 +02:00
enricoturri1966
077dc25bfd Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_seams_as_models 2021-08-04 12:48:21 +02:00
enricoturri1966
599a4d97e3 Removed constness from a few renderXXX() methods 2021-08-04 12:47:36 +02:00
YuSanka
7fd9a9cf6e ObjectList: Fixed a crash during a print technology change when InfoItem is selected
+ Add "Gallery" menu Item for Advanced mode too
2021-08-04 12:35:44 +02:00
Lukas Matena
bc81c22ea9 CLI: Ensure that objects are on bed by default, new CLI config option:
'dont-ensure-on-bed' (which allows to override). This was the original
behaviour in Slic3r and Sli3rPE, probably broken long ago when CLI
was ported from  Perl.
Also, --scale-to-fit should now work again (#5772)
2021-08-04 12:15:37 +02:00
enricoturri1966
66d43b882e Fixed calls set_uniform(emission_factor, xx) to use floats 2021-08-04 11:58:50 +02:00
Lukas Matena
d0d3c5ad16 Fix of variable layer height mode opening from ObjectList:
when the respective object info line was clicked, the variable
layer height mode was opened correctly, but closing it through
the toolbar deactivated most of the icons as if it was just opened.
2021-08-04 10:25:20 +02:00
Lukas Matena
7d9cce1298 Do not open 'Did you know' notifications in gcodeviewer,
they make no sense and make slicer crash sometimes
2021-08-04 10:21:01 +02:00
Lukáš Hejl
9e5fc2e713 XY size compensation is ignored when the object is also painted using the multi-material painting gizmo. A user is also notified about it. 2021-08-03 13:03:06 +02:00
Lukáš Hejl
742a373c1f Added invalidation of the sliced object when gap-fill enabled/disabled if the object is painted using the multi-material painting gizmo.
Filtering of unprintable regions in multi-material segmentation depends on if gap-fill is enabled or not. So sliced object is invalidated when gap-fill was enabled/disabled by option "gap_fill_enabled" or by changing "gap_fill_speed" to force recomputation of the multi-material segmentation.
2021-08-03 13:03:06 +02:00
Lukáš Hejl
b16aada962 Added clipping of finite Voronoi edges that have coordinates that don't fit inside type coord_t. 2021-08-03 13:03:06 +02:00
Lukáš Hejl
93b86da770 Fixed the wrong threshold in the multi-material segmentation. 2021-08-03 13:03:06 +02:00
Lukáš Hejl
d13c08837c Fixed an issue that some triangles weren't selected when bucket fill was used in the multi-material painting gizmo. 2021-08-03 13:03:06 +02:00
YuSanka
0092c448b8 OSX specific: GalleryDialog: Fixed scale of the default icon 2021-08-03 11:28:58 +02:00
Lukáš Hejl
5bd14cf83a Fixed the compiler warning. 2021-08-03 10:16:52 +02:00
YuSanka
1b49dd9869 PhysicalPrinterDialog: Remove all leading and trailing spaces from "print_host" input 2021-08-03 09:25:54 +02:00
YuSanka
4f1a092ae0 PrintHostQueueDialog: MSW specific in DarkMode: Fixed font color for the selected Item 2021-08-02 17:28:08 +02:00
YuSanka
a26e9c46b2 Fixed build 2021-08-02 15:08:54 +02:00
YuSanka
e8e3279511 Shapes Gallery :
- Suppress to create a PNG-files for system shapes
 - Allow to load the OBJ files
2021-08-02 15:00:41 +02:00
Lukáš Hejl
bad51cdb52 OSX specific: Fixed darker colors of objects inside multi-material gizmo on macOS running on Arm64 CPU.
For Apple's on Arm CPU computed triangle normals inside fragment shader using dFdx and dFdy has the opposite direction. Because of this, objects had darker colors inside the multi-material gizmo.
Based on https://stackoverflow.com/a/66206648, the similar behavior was also spotted on some other devices with Arm CPU.
2021-08-02 14:59:03 +02:00
enricoturri1966
ab9dfb7932 Added a few missing glsafe() 2021-08-02 14:40:13 +02:00
enricoturri1966
06b47d98fc Fixed build when tech ENABLE_GCODE_VIEWER_STATISTICS is enabled 2021-08-02 12:16:03 +02:00
Filip Sykala
fc4b18ebb1 Merge master 2021-08-02 10:46:47 +02:00
Filip Sykala
59d02aea0a Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-02 09:04:15 +02:00
Lukáš Hejl
5229acc693 Fixed compilation on Linux and macOS. 2021-07-31 12:10:38 +02:00
Vojtech Bubnik
2f6f1f0e55 WIN32 specific Blacklisted libraries check:
1) Polished up wording of the error messages.
2) Made some messages in the SysInfo dialog localized.
3) Renamed LibraryCheck.cpp/hpp to BlacklistedLibraryCheck.cpp/hpp
4) CPPized the BlacklistedLibraryCheck WIN32 C code.
2021-07-30 15:52:52 +02:00
YuSanka
64c8a6de8f Manipulation Panel in DarkMode: Fixed a text color, when we use different colors for the axes 2021-07-30 14:22:58 +02:00
enricoturri1966
d77013b5bf Fixed mirroring of sinking objects 2021-07-30 11:40:30 +02:00
enricoturri1966
0cb5590992 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-07-30 11:19:58 +02:00
enricoturri1966
a3a99567ad Changed logic to detect sinking objects while using scale gizmo 2021-07-30 11:19:50 +02:00
YuSanka
0bb5c2ef88 Auto color change: Fixed some cases:
* first layer is a little bit less than all another (like for elephant foot compensation)
* ignore small changes of the layer area
2021-07-30 11:16:30 +02:00
enricoturri1966
5aff44debe ENABLE_PROJECT_DIRTY_STATE set as default 2021-07-30 09:33:51 +02:00
enricoturri1966
a8552512cf Fixed sinking objects popping-up when deleting modifiers 2021-07-30 08:18:11 +02:00
David Kocik
aa17d54eda Update item info notification with icon 2021-07-29 16:52:08 +02:00
Vojtech Bubnik
654cd753e2 Changed the label of "Marlin Firmware" to "Marlin 2" 2021-07-29 16:21:09 +02:00
enricoturri1966
dc21fb1100 Changed detection of sinking objects into ObjectList::update_info_items() 2021-07-29 15:15:57 +02:00
Vojtech Bubnik
1659e4c77f Fixed splitting of triangle meshes, where the splitting function
may produce a single triangle, which is then removed by the repair function.
2021-07-29 15:02:50 +02:00
David Kocik
aebbafc75c Validate Error notification 2021-07-29 13:59:25 +02:00
Lukáš Hejl
9f0c6576f6 Added missing includes (GCC 11.1) 2021-07-29 13:38:10 +02:00
enricoturri1966
438439fd71 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-07-29 13:28:16 +02:00
enricoturri1966
86da45eb66 Horizontal slider in preview to show always (and only) gcode lines indices 2021-07-29 13:28:07 +02:00
David Kocik
0d74502aeb Hint notification
Reads data from hints.ini. Has hyperlinks to highlight settings, toolbars and gizmos.
2021-07-29 13:20:50 +02:00
YuSanka
7fd34e52c1 PhysicalPrinterDialog: Use transparent background for the Plus/Minus buttons 2021-07-29 13:13:48 +02:00
enricoturri1966
81f4df70dc Fixed conflict after merge with master 2021-07-29 12:25:28 +02:00
enricoturri1966
701286615f Follow-up of 1d4e7f5577 -> More robust fix 2021-07-29 12:14:51 +02:00
Lukáš Hejl
da3a0c6332 Fixed a crash in the multi-material segmentation when projected lines are outside of the BoundingBox used for EdgeGrid. 2021-07-29 11:45:02 +02:00
Lukáš Hejl
f577350f1f Reworked bucket fill so that all neighboring triangles are computed based on information about triangle neighbors. 2021-07-29 11:45:02 +02:00
Lukáš Hejl
6d0e5d3b9c Enabled to set "Maximum width of a segmented region" per object. 2021-07-29 11:45:02 +02:00
Lukáš Hejl
37f5f12f52 Replaced unnecessary double storing of edges in a graph for the multi-material segmentation by storing indices into a shared array of arcs. 2021-07-29 11:45:02 +02:00
Lukáš Hejl
216589fdb1 Get rid of unnecessary double storage of processed input polygons in the multi-material segmentation as ExPolygons and also as Polygons. All processed input polygons are now stored as ExPolygons. 2021-07-29 11:45:02 +02:00
Lukáš Hejl
38866b65b0 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
Lukáš Hejl
2569da95d5 Parallelized the projection of painted regions in multi-material segmentation. 2021-07-29 11:45:01 +02:00
Lukáš Hejl
7a60f1793c Fixed a possible overflowing of a painted area to an unpainted area in multi-material segmentation.
It was reworked graph generation for multi-material segmentation. Now only oriented arcs in one direction are added to the graph for input polygons. This direction matches the direction of the lines in the input polygons.
2021-07-29 11:45:01 +02:00
enricoturri1966
1d4e7f5577 Fix of scaling modifiers for a sinking object 2021-07-29 09:37:40 +02:00
enricoturri1966
97de723146 Tech ENABLE_SINKING_CONTOURS -> Fix for showing sinking contours while dragging objects 2021-07-29 09:03:20 +02:00
enricoturri1966
14a67b0c9e Added sinking property item to objects list 2021-07-29 08:37:41 +02:00
enricoturri1966
1ea541767f Fixed compile warning 2021-07-28 15:40:55 +02:00
enricoturri1966
d821fcba2d Tech ENABLE_SINKING_CONTOURS -> Improved generation of sinking contours and color set to white 2021-07-28 14:27:57 +02:00
enricoturri1966
f1cd3e22c4 Tech ENABLE_SINKING_CONTOURS -> Cut gizmo: contours updated during render pass 2021-07-28 13:03:48 +02:00
Lukas Matena
a54f5fb41a Render statistics now shows actual SwapBuffers() calls per second 2021-07-28 12:50:01 +02:00
enricoturri1966
0146013b4e 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
enricoturri1966
d99ea7c20f Tech ENABLE_SINKING_CONTOURS -> Sinking contours rendered using triangles 2021-07-28 11:21:59 +02:00
enricoturri1966
b24488ce51 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
YuSanka
3449550a7c MSW specific: Fixed strange layout after first switch between printer technology 2021-07-27 10:55:05 +02:00
enricoturri1966
502906178f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_contours 2021-07-27 09:04:52 +02:00
enricoturri1966
90a23d73bc 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
Vojtech Bubnik
eb6392dccd 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
YuSanka
84c6199015 Improvements for c5b7d4b2 fix 2021-07-26 16:17:21 +02:00
YuSanka
5f73724501 Search: Fixed a blinking for the first search 2021-07-26 15:06:18 +02:00
tamasmeszaros
0584b13167 Merge branch 'tm_flatpak_help_3' 2021-07-26 14:51:53 +02:00
tamasmeszaros
27b1174558 Increase minimum oversampling for grid conversion in hollowing
To avoid generation of broken meshes when the space for hollowing is tight
2021-07-26 14:51:22 +02:00
YuSanka
e79bcee739 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
enricoturri1966
4a9602b073 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
tamasmeszaros
088e34740e Fix messed up wx find procedure 2021-07-26 13:25:06 +02:00
tamasmeszaros
eca331ea35 Fix wx linkage to tiff and jpeg 2021-07-26 13:16:01 +02:00
tamasmeszaros
ca67d880ec Fix issues with finding new deps on win 2021-07-26 13:07:20 +02:00
tamasmeszaros
7ed0d6b886 Fix broken hole drilling 2021-07-26 12:28:57 +02:00
YuSanka
a113f227f5 Use default last directory when we try to save a project with objects from Gallery 2021-07-26 11:34:52 +02:00
enricoturri1966
06e2835f83 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
YuSanka
9154ebb165 ConfigWizard: Draw logo inside OnPaint instead of use of wxStaticBitmap 2021-07-23 16:03:17 +02:00
enricoturri1966
c9dffd0c89 Preview legend: title of estimated print time section dependent on results 2021-07-23 14:49:24 +02:00
YuSanka
4a5496e3de ObjectDataViewModel: Added function to add warning icon 2021-07-23 13:48:38 +02:00
enricoturri1966
c732deeb91 Set imgui scrollbars' grab color to orange 2021-07-23 13:36:43 +02:00
enricoturri1966
8df2525355 Fixed conflicts after merge with master 2021-07-23 11:40:07 +02:00
Lukas Matena
d3b1b1f3d5 Fix of clipping plane for SLA supports,
probably broken since 1009f78
2021-07-23 11:32:36 +02:00
enricoturri1966
8ebb2e2a29 Fixed import of color print view from gcode files into GCodeViewer 2021-07-23 11:27:07 +02:00
Lukas Matena
e93c5d4f20 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
Filip Sykala
c0b73a92a3 Try fix warning icon 2021-07-22 15:17:23 +02:00
Lukas Matena
1f89b3638c 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
enricoturri1966
c9aa88db0d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_contours 2021-07-22 13:00:47 +02:00
enricoturri1966
15b8e68c59 Tech ENABLE_SEAMS_VISUALIZATION set as default 2021-07-22 12:58:33 +02:00
enricoturri1966
59606a0ef6 Tech ENABLE_START_GCODE_VISUALIZATION set as default 2021-07-22 12:32:08 +02:00
enricoturri1966
d5ad47d0ca Tech ENABLE_SCROLLABLE_LEGEND set as default 2021-07-22 12:18:38 +02:00
enricoturri1966
2dd7091cc3 Tech ENABLE_MODIFIED_DOWNSCALE_ON_LOAD_OBJECTS_TOO_BIG set as default 2021-07-22 11:55:08 +02:00
enricoturri1966
5c6810d0bc Fixed conflicts after merge with master 2021-07-22 11:46:00 +02:00
enricoturri1966
65b3be92fe Techs DISABLE_ALLOW_NEGATIVE_Z_FOR_SLA and ENABLE_ALLOW_NEGATIVE_Z set as default 2021-07-22 11:26:31 +02:00
Lukas Matena
5bffed394b Fixed cursor size clamping in MMU segmentation gizmo 2021-07-22 11:03:09 +02:00
enricoturri1966
13c77990aa Follow-up of 1f3252dd78 -> Fixed rectangle selection 2021-07-22 10:27:37 +02:00
enricoturri1966
81c78d0ecc Tech ENABLE_EXTENDED_M73_LINES set as default 2021-07-22 09:55:39 +02:00
enricoturri1966
7817105abe Tech ENABLE_GCODE_WINDOW set as default 2021-07-22 09:37:02 +02:00
enricoturri1966
5faac3c105 Tech ENABLE_VALIDATE_CUSTOM_GCODE set as default 2021-07-22 09:13:12 +02:00
enricoturri1966
b80fb40fcd Tech ENABLE_GCODE_LINES_ID_IN_H_SLIDER set as default 2021-07-22 08:35:21 +02:00
YuSanka
232309a879 Don't save shapes directory to the "last_dir" 2021-07-21 16:13:40 +02:00
Filip Sykala
72d01d75e4 FIX schedule_extra_frame on end; 2021-07-21 15:48:10 +02:00
enricoturri1966
2d8f35561a Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_contours 2021-07-21 15:35:41 +02:00
enricoturri1966
22f04ca46e Tech ENABLE_SINKING_CONTOURS -> 1st installment 2021-07-21 15:30:57 +02:00
Filip Sykala
b225fadfde Allow skip edge with only one triangle during simplification 2021-07-21 15:23:48 +02:00
YuSanka
c7051c9005 Removed unnecessary conditions that interfere with the search. 2021-07-21 14:48:05 +02:00
Lukas Matena
7acaf58c15 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
enricoturri1966
9264b79be7 Tech ENABLE_RELOAD_FROM_DISK_FOR_3MF set as default 2021-07-21 14:10:05 +02:00
Lukáš Hejl
4d2bee36e5 Fixed some compiler warnings. 2021-07-21 12:54:28 +02:00
enricoturri1966
be9114c6c8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-07-21 12:28:14 +02:00
enricoturri1966
4b312ae170 ENABLE_ALLOW_NEGATIVE_Z -> Fixed build when the tech is disabled 2021-07-21 12:28:03 +02:00
YuSanka
c5b7d4b213 FixThroughNetFabb: Fixed strange behavior after fixing of the model (PrusaSlicer loosed a focus) 2021-07-21 12:11:25 +02:00
Filip Sykala
0079091a8c Fix gui size 2021-07-21 11:58:01 +02:00
enricoturri1966
1f3252dd78 Revert of b140709fa8 and new implementation of fixing picking for sinking objects 2021-07-21 11:56:39 +02:00
enricoturri1966
7cd402dcd0 GCodeViewer -> Fixed crash when importing gcode files generated by older versions of PrusaSlicer 2021-07-21 08:58:14 +02:00
enricoturri1966
7c01ddf996 #6730 - GCodeViewer -> Fixed crash when importing gcode files generated by PrusaSlicer and edited by user or 3rd part post processors by appending new lines after the config section. Show instead the same error dialog as when trying to import the config into PrusaSlicer from the same gcode file 2021-07-21 08:36:16 +02:00
Filip Sykala
6bcc576b5f truncate model name 2021-07-21 08:34:43 +02:00
Filip Sykala
87a6c8cb73 Merge branch 'master' into fs_QuadricEdgeCollapse 2021-07-21 07:52:57 +02:00
Filip Sykala
ca3fc06e36 GUI edits 2021-07-20 18:39:09 +02:00
enricoturri1966
368cfedbc7 Keep non-sinking volumes on top of the printbed while scaling 2021-07-20 15:32:24 +02:00
YuSanka
097afc6598 Follow-up bf981ae049 : Small improvements 2021-07-20 15:22:52 +02:00
Filip Sykala
b88629974d Change UI
Fix minimal triangle count
Fix progress rendering
2021-07-20 15:07:48 +02:00
YuSanka
44f1dac8c7 GalleryDialog: Added process of the "Close" button
SavePresetDialog: To correct "darkmodding" the wxRadioBox was changed to the wxStaticBoxSizer with radio buttons
+ Some code cleaning
2021-07-20 14:46:38 +02:00
enricoturri1966
bda128c166 Small refactoring in Selection 2021-07-20 13:26:12 +02:00
enricoturri1966
fd5cf8d0cc Refactoring in GLModel::render() to simplify client code 2021-07-20 12:36:56 +02:00
Filip Sykala
5ac2809426 Merge branch 'master' into fs_QuadricEdgeCollapse 2021-07-20 12:05:58 +02:00
Filip Sykala
6464a5b698 Fix Typo 2021-07-20 12:05:44 +02:00
enricoturri1966
c61785f775 Tech ENABLE_SEQUENTIAL_LIMITS set as default 2021-07-20 12:05:15 +02:00
YuSanka
e6c361ec5e Added "Modify Shapes Gallery" to the "Window" menu
+ Fixed a non-MSW build (added missed include)
2021-07-20 11:25:24 +02:00
enricoturri1966
b140709fa8 ENABLE_ALLOW_NEGATIVE_Z -> Fixed picking of sinking object 2021-07-20 11:02:04 +02:00
YuSanka
bf981ae049 Temporary workaround for compatibility with older Slicer:
To the "physical_printer" added "preset_name" option as a duplicate of the "preset_names" but like one string.
Note: It will works just for printer preset names without ";" (see #5503)
2021-07-20 10:18:59 +02:00
YuSanka
cc92757cdc Follow up 569200eb - fixed a typo witch was caused a bug "Impossible to revert the bed shape"
+ Added error message for exception when changing the config value
2021-07-20 09:41:29 +02:00
enricoturri1966
7d3e176a58 GCodeViewer -> Fixed loading of machine limits data from config contained into gcode files 2021-07-20 09:38:35 +02:00
Filip Sykala
2a2530924f FIX for build Asan_OsX_Mojave_Universal_ARM64/590
../src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp:72:81: error: cannot pass non-trivial object of type 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
../src/slic3r/GUI/Gizmos/GLGizmoSimplify.cpp:72:87: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
2021-07-20 08:30:49 +02:00
Filip Sykala
bc3da9973b Merge branch 'master' into fs_QuadricEdgeCollapse 2021-07-20 08:22:06 +02:00
YuSanka
888a5e3084 Fixed of the warnings.
+ Some small bug-fixing related to the system colors change on MacOS ("Set..." buttons didn't respect to the system color change)
2021-07-19 15:46:50 +02:00
Filip Sykala
25a4887075 QEC: When collapsing edge flip normal than check other edges in triangle
Quadric is calculated with double precission of normal
Fix calculation of normal for changed triangles
2021-07-19 15:46:41 +02:00
YuSanka
d3ddb1cfa8 Fixed a bug with update of the warning icon for object after a deleting of the broken volume 2021-07-19 13:30:49 +02:00