Dim lower layers (#14705)

This commit is contained in:
Ian Bassi
2026-07-20 18:14:01 -03:00
committed by GitHub
parent e28b5dae94
commit 4e4e867502
9 changed files with 103 additions and 6 deletions
+3
View File
@@ -1134,6 +1134,9 @@ void GCodeViewer::load_as_gcode(const GCodeProcessorResult& gcode_result, const
if (current_top_layer_only != required_top_layer_only)
m_viewer.toggle_top_layer_only_view_range();
// ORCA: darken layers below the current one while scrubbing the preview (ported from preFlight)
m_viewer.set_dim_previous_layers(get_app_config()->get_bool("preview_dim_previous_layers"));
// avoid processing if called with the same gcode_result
if (m_last_result_id == gcode_result.id && wxGetApp().is_editor()) {
//BBS: add logs