35a30fe65b
Fixed the following crash:
...
1) Start PrusaSlicer
2) Add a box to the plater
3) Open Seam Painting or Paint - on supports gizmo
4) Save project
->crash
2021-06-17 08:16:54 +02:00
c2f2fd0234
Follow up 0b5ea8f429
...
- Un-select random sequence by default
- Added a check for interval height. It have to be bigger then print layer height
2021-06-16 18:20:26 +02:00
d7e663e2ef
Fixed a multi-material painting gizmo crash when extruders colors aren't initialized, which happens when switching between SLA and FDM printer.
2021-06-16 17:05:24 +02:00
e3f18b4fc3
Fixed incorrectly displayed custom supports and seams in the support and seam gizmos after 7377fc34ac.
2021-06-16 13:41:35 +02:00
83af107009
Fixed an issue for multi-volume objects where the seed fill visualization in the multi-material gizmo didn't disappear after the mouse was moved to another volume.
2021-06-16 06:06:34 +02:00
8fbd9f40e7
Refactoring and cleanup of painting gizmos.
2021-06-16 06:06:34 +02:00
ce2c69676c
Modified MMU painting gizmo behavior so that all triangles aren't painted by default by the first extruder, which was causing several problems.
...
This commit also fixed the following issues:
1) After loading a 3MF with painted triangles using the MMU painting gizmo, the painted triangles might not be displayed correctly in the MMU painting gizmo.
2) The MMU segmentation was unnecessarily executed for all layers and not just for the painted layers.
3) Object's base color wasn't changed when the assigned extruder for that object was changed while the MMU paint gizmo was opened.
4) Changing the base color of an object was only possible by removing all painted triangles.
2021-06-16 06:06:34 +02:00
8079bf0139
Fixed a possible crash when closing the MMU painting gizmo cause by a non-virtual destructor.
2021-06-16 06:06:33 +02:00
7c58250e5b
Fixed cracks in MMU painting gizmo. All triangles, even not painted triangles, are now rendered inside MMU painting gizmo.
...
The cracks were caused by using glPolygonOffset to resolve Z-fighting. All triangles of the object were firstly rendered entirely with a base color. And then paint triangles were drawn over these already rendered triangles.
2021-06-16 06:06:33 +02:00
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