Painted modifiers (#16213)

This commit is contained in:
Ian Bassi authored and GitHub committed 2026-11-12 10:38:03 -03:00
1 parent 47a17ad9a3
commit db9968b9ee
42 files changed
+1766 -125

No files matched your search

+2 -1
View File
@@ -382,10 +382,11 @@ void GridCellFilamentsRenderer::Draw(wxGrid &grid, wxGridCellAttr &attr, wxDC &d
(grid_row->model_volume_type != ModelVolumeType::SUPPORT_BLOCKER) && \
(grid_row->model_volume_type != ModelVolumeType::SUPPORT_ENFORCER) && \
(grid_row->model_volume_type != ModelVolumeType::PARAMETER_MODIFIER) && \
(grid_row->model_volume_type != ModelVolumeType::PAINTED_MODIFIER) && \
!is_precise_seam(grid_row->model_volume_type)) { // Precise Seam is non-printing helper geometry
dc.DrawBitmap(*bitmap, wxPoint(rect.x + offset_x, rect.y + offset_y));
}
else if (grid_row->model_volume_type == ModelVolumeType::PARAMETER_MODIFIER){
else if (grid_row->model_volume_type == ModelVolumeType::PARAMETER_MODIFIER || grid_row->model_volume_type == ModelVolumeType::PAINTED_MODIFIER){
dc.DrawText(_L("Default"), wxPoint(rect.x + offset_x, rect.y + offset_y));
}