Commit Graph

5574 Commits

Author SHA1 Message Date
1316e17053 Follow-up of 39fd8065a1: Apply changes also for MMU painting gizmo, so shader->start_using() is called only once. 2021-06-16 06:06:33 +02:00
bea06e46a3 Show info about multi-material segmentation in ObjectList. 2021-06-16 06:06:33 +02:00
3bf82f2204 Random extruder sequence for MMU.
Related to https://github.com/prusa3d/PrusaSlicer/issues/1866
2021-06-15 12:38:05 +02:00
611ea4383d TriangleSelector - some memory optimization.
Don't store traingle normal, but reference the source triangle,
which stores its normal.
2021-06-11 12:27:58 +02:00
eb7ce6429b Code refactoring to avoid a call of update_ui_from_settings() every time when switching between "3D-View" and "Preview" 2021-06-11 10:34:13 +02:00
a9430f2f3f TriangleSelector::get_facets() refactoring to share vertices.
TriangleSelector::valid refactored to m_valid and valid()
and bool members moved next to each other to shrink data structure
size due to memory alignment.
2021-06-10 12:43:31 +02:00
872b1c6c5e Fixed a bug in update of the ObjectList when switching between 3d-View and Preview
Steps to repro:
1. start PrusaSlicer
2. add a box
-> watch the object list: only one item is shown in the list
3. switch to preview
-> the item in the object list gets a child
2021-06-09 17:21:39 +02:00
9fa6016324 Follow-up of 2d9953069a 2021-06-08 15:10:01 +02:00
d697ee9d7d Merge branch 'tm_its_refactor_3' 2021-06-08 12:22:28 +02:00
75f0b81bdd Do not close application when user select 'Cancel' in the save dirty project dialog 2021-06-08 11:51:41 +02:00
0ecba516a3 Get rid of Contour3D 2021-06-08 10:28:23 +02:00
c451fc94ba Refactored hollowing backend to use indexed_triangle_mesh 2021-06-08 10:28:23 +02:00
cf1731feea Tech ENABLE_ALLOW_NEGATIVE_Z -> Added threshold to detect if an object is sinking 2021-06-08 10:07:47 +02:00
55658979b7 Fixed two more locales-related issues
One warning was also fixed
2021-06-07 12:31:41 +02:00
d9e9e76467 #6587 - Fixed temporary .gcode file locked by gcode window visualizator while exporting to gcode 2021-06-07 11:54:16 +02:00
41cbb28062 Remove const_cast<> introduced with 0e3090fb28 2021-06-04 16:53:05 +02:00
8480895d40 Remove const_cast<> introduced with 4da8de5f49 2021-06-04 10:23:31 +02:00
800f031202 Fixed clipping plane when used with painter gizmos (follow-up of 94877a0) 2021-06-04 09:34:55 +02:00
5e1a9a728f Added name for items in undo/redo stack inside multi-material gizmo. 2021-06-03 18:11:48 +02:00
83b14502a6 Fixed the wrong transformation matrix for "Clipping of view" when is used a printer with multiple extruders. 2021-06-03 08:00:46 +02:00
392bf4f2d0 Follow-up 7eebd56b5f - fixed a typo
+ added add_negative.svg for dark mode
2021-06-02 14:36:49 +02:00
611b91bc1f Fixed DnD for "Model part" volumes inside the object
Fixed volumes order inside the object
2021-06-02 12:54:56 +02:00
2eba5223fa Removed unnecessary const_cast calls inside Camera. 2021-06-02 12:19:55 +02:00
ebcd48a725 Fixing a regression crash in Preset Hints. 2021-06-02 11:28:55 +02:00
54b4459a29 Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions 2021-06-01 12:46:37 +02:00
1a9b72eb5e Show sequential print clearance regions when Move/Rotate/Scale gizmos are active 2021-06-01 11:36:12 +02:00
5681489621 Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions 2021-06-01 11:19:53 +02:00
da95f2a753 New parameter "Slicing Mode" for supporting 3DLabPrint airplane models.
S3D's strategy for merging self intersecting models is "Even / Odd"
which PrusaSlicer now supports as an alternative to "Positive" rule.
Also added a "Close Holes" option to fill in all internal structures.
3D-Labprint Models aren't sliceable (till years) #3062 #3708
2021-06-01 11:10:12 +02:00
862eac6589 Changed logic to avoid saving a project while a gizmo is in editing mode 2021-06-01 08:32:58 +02:00
efd172d012 Added option to independently set z axis travel speed 2021-05-31 21:20:43 +02:00
6f72ac08d9 Sphere brush color in MMU painting gizmo is now the same as color used for painting. 2021-05-31 14:23:12 +02:00
37179e04dc Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions 2021-05-31 14:05:53 +02:00
0689178ef5 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits 2021-05-31 12:55:03 +02:00
95c519fbf2 Fixed conflicts after merge with master + fixed rendering of hovered gizmo grabbers 2021-05-31 12:54:48 +02:00
3fd470bf81 Unify Delete/Backspace behaviour in gizmos with the rest of slicer. Also,
backspace on macOS in SLA gizmo now deletes points and not the whole object,
which was quite unexpected.
2021-05-31 11:50:00 +02:00
42d7738da1 Fixed issue that the lower half of the object was shown darker than the upper half of the object after slicing with MMU segmentation. 2021-05-31 07:26:38 +02:00
8771ffd41a Fixed rendering of gizmo grabbers 2021-05-28 16:44:13 +02:00
1c168809d1 Added missing uniform calls for emission_factor 2021-05-28 16:44:13 +02:00
c3d5866982 Fixed rendering of gizmos' grabbers 2021-05-28 16:44:13 +02:00
73fea9b460 Unified color definition 2021-05-28 16:44:13 +02:00
2721e502d0 Removed unneeded calls to GL_LIGHTING 2021-05-28 16:44:13 +02:00
4826422380 Removed static members from GLGizmoBase and GLGizmoBase::Grabber to fix OpenGL error when closing the application 2021-05-28 16:44:13 +02:00
246e5f845e Grabbers and support points appearence tweaking, some refactoring 2021-05-28 16:44:13 +02:00
b41395e20c Removed last GLU call, removed libGLU from CMakeLists 2021-05-28 16:44:13 +02:00
1356e23994 Removed gluProject and gluUnProject calls 2021-05-28 16:44:13 +02:00
afb0380285 Removed GLU calls from all the gizmos 2021-05-28 16:44:13 +02:00
5cf03790e0 Fixed crash when deleting last obejct from plater 2021-05-28 16:28:56 +02:00
32242f0217 Update extruder show/hide and default extruder color in respect to the volume type 2021-05-28 13:41:36 +02:00
b9538cc2aa Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions 2021-05-27 16:12:53 +02:00
7519193bb3 Follow-up of b3ca8cb0af -> Fixed typo 2021-05-27 14:05:29 +02:00