Commit Graph

16173 Commits

Author SHA1 Message Date
ae1f18f7ba Speed-up of painted seams 2021-07-15 09:49:36 +02:00
20793156ad Merge branch 'tm_openvdb_find_fix' 2021-07-15 09:37:03 +02:00
6f83ce1f0b Search for a better openvdb find module if available
Solves #6681, alternative path for openvdb installation can be specified via cache variable
2021-07-15 09:36:28 +02:00
582d514d82 Fixed a crash when "resources/shapes" directory doesn't exist.
+ Localization for the "Internal error: %1%" in generic_exception_handle()
2021-07-15 09:04:12 +02:00
b302ae95ef Let's hope that the std::exception::what() returns either a 7-bit
string or an UTF-8 string. Let's convert it to wxString before
showing an error message box.
boost::system shall return UTF-8 localized error messages as long
as we set -DBOOST_SYSTEM_USE_UTF8 in the top most CMakeFiles.txt,
which we do.
2021-07-15 08:34:02 +02:00
14e1293ade GalleryDialog: Changes the paths to the system and custom galleries 2021-07-14 17:41:37 +02:00
81e172d2c6 Follow-up fe7204379d - added missed include 2021-07-14 16:48:55 +02:00
c0252cb10e GalleryDialog: Fixed sort of the filenames inside the list.
+ OSX Specific:
   * Fixed scale of the lock on the system file icons
   * Fixed buttons alignment for AboutDialog and SysInfoDialog
2021-07-14 16:45:34 +02:00
0ad9195149 Merge branch 'lm_skirtbrim' 2021-07-14 16:02:15 +02:00
e15c0682b0 Correctly convert legacy bool 'draft_shield' to enum 2021-07-14 16:02:04 +02:00
439088c349 Draft shield option is now an enum (Disabled/Limited/Enabled) 2021-07-14 16:02:04 +02:00
0ad7fb9208 Skirt is now generated around brims, unless 'draft shield' is checked 2021-07-14 16:02:04 +02:00
9845459ba8 Fixed Perl bindings 2021-07-14 16:02:04 +02:00
bbca47355d Merged psSkirt and psBrim 2021-07-14 16:02:04 +02:00
13edc8eca2 Added input validation in painting gizmo (some values led to a crash) 2021-07-14 15:57:22 +02:00
bc4c11bef4 Follow-up of 18c8003a0f -> Fixed bounding box of selected volumes 2021-07-14 15:32:09 +02:00
6b068f495f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-07-14 13:21:17 +02:00
bfdaeae376 Delayed rendering of transparent volumes 2021-07-14 13:20:57 +02:00
4523f49445 GalleryDialog: Added loaded files quality control
+ Code cleaning
2021-07-14 12:47:52 +02:00
bd63d26022 Fixes into Cut gizmo 2021-07-14 11:39:09 +02:00
769caa2e92 Replace with STL: Fixed update of the item name after replacing
+ OSX specific: Code refactoring for ObjectList:Rename() function
2021-07-14 09:22:03 +02:00
b83e109222 Fixed Windows DarkMode for some dialogues.
+ ProjectDropDialog: wxRadiloBox was changes to the wxStaticBox with wxRadioButtons because of dark mode colors update
+ Preferences: Fixed update of the text colors
2021-07-13 18:27:30 +02:00
df4545e99a Fix crash when all the holes fail to drill 2021-07-13 16:02:58 +02:00
90c2528772 Fixed R-Pi build 2021-07-13 14:08:44 +02:00
ce92075590 MMU segmentation: Implemented filtering of unprintable regions in
top/bottom propagation.
2021-07-13 14:00:21 +02:00
f7fcc9b4d7 Fixed compilation in debug mode by removing the forgotten assert. 2021-07-13 12:56:01 +02:00
40fc96e051 Fixed conflicts after pulling from master 2021-07-13 12:11:54 +02:00
69eb2fd4e5 Follow-up of d6fdf2d5c2 -> Automatic generation of missing thumbnails 2021-07-13 11:57:19 +02:00
7b1ab0d501 Merge branch 'lh_mm_gizmo_rendering' 2021-07-13 11:36:42 +02:00
14bfc30ec4 Triangle normals and lighting are computed inside the fragment shader for the multi-material painting gizmo.
It results in a six-fold reduction of the amount of data transferred into GPU because there is no need to duplicate vertices for every triangle. Also, normals aren't needed to be transferred to GPU.
2021-07-13 11:23:36 +02:00
bc10148ff2 Default object color is shown in the multi-material painting gizmo when the user switches to a printer with fewer extruders than the number of extruders used to paint the object. 2021-07-13 11:23:36 +02:00
2a04382245 Speed up the rendering of triangles in painting gizmos by only copying triangle data to the GPU when triangles were changed by painting. 2021-07-13 11:23:36 +02:00
e4f3458bbc Tracing MMU top / bottom segmentation open lines at "trace" level. 2021-07-13 11:19:20 +02:00
1a72c78934 Merge branch 'vb_mmu_top_bottom' 2021-07-13 11:08:52 +02:00
dc1f8e4b5d Fixed slab slicing for special cases (slicing plane intersects object
plane).
2021-07-13 11:06:59 +02:00
e97205c415 Fixed build on Linux 2021-07-13 08:30:49 +02:00
1c64404890 GalleryDialog improvements:
* Added "Replace PNG" function
* Added locks instead of border for system shapes
2021-07-12 17:22:22 +02:00
080807eda5 Modifiers Gallery (#6703)
* Added GalleryDialog

* GalleryDialog improvements:
* Added DnD functionality
* Added "Delete custom shapes" function
2021-07-12 15:20:50 +02:00
e2603b1652 Removed unnecessary backward compatibility with old multi-material painted 3MF from the early stage of development. 2021-07-12 13:37:33 +02:00
afb13dadc1 Fixed an issue where seed fill selection stuck displayed when the mouse was moving inside multi-material gizmo when the gizmo was overlapping the model. 2021-07-12 13:21:10 +02:00
5b9d7e7376 Follow up (bugfix) of 0d70a2be69
GLIndexedVertexArray newly uses Eigen::AlignedBox<float, 3>
for efficiency instead of our double based BoundingBoxf3.
2021-07-12 10:53:09 +02:00
e80ef16a5b Added a missing locale switch needed for custom gcode validation when switching tabs 2021-07-12 09:38:32 +02:00
a6f66631e4 Fix FHS install dirs (#5930)
Install .desktop files into /usr/share/applications.
Install PNGs for the above into /usr/share/icons.
Install udev rules into /lib/udev/rules.d.
2021-07-09 17:44:58 +02:00
bdb1956c3e Update build_win.bat (#6688)
* Support relative as well as absolute paths in -d/-destdir
* Improved debuggability (control variables and echo suppression)
* Improved error handling and messages
2021-07-09 15:23:09 +02:00
e2969291bb Our friendly GCC does not consider std::pair<int, int> trivially
copiable either, while everybody else does. Shame on GCC.
2021-07-09 14:05:30 +02:00
eeaab9f73b GCC does not consider std::pair<std::pair<...>, ...> to be trivially
copiable, thus fixing the unit tests with a custom trivially
copyable type.
2021-07-09 13:58:54 +02:00
a3e507a9b9 MutablePriorityQueue: Added is_trivially_copyable test for queue value
types, added [] accessors.
2021-07-09 13:25:41 +02:00
0f9b2e20bf 1) Fixed a significant bug in MutablePriorityQueue when setting
the indices allowing rescheduling of values in the middle of the queue.
2) Implemented a cache friendly variant - MutableSkipHeapPriorityQueue
   based on
   https://playfulprogramming.blogspot.com/2015/08/cache-optimizing-priority-queue.html
   https://github.com/rollbear/prio_queue/blob/master/prio_queue.hpp
2021-07-09 12:53:29 +02:00
c06330dc67 Initial gCreate bundle
https://github.com/prusa3d/PrusaSlicer/pull/6679
2021-07-09 12:18:08 +02:00
8df998990e gCreate resources
https://github.com/prusa3d/PrusaSlicer/pull/6679
2021-07-09 12:15:18 +02:00