mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Tech ENABLE_SEAMS_USING_MODELS - Fixed crash when enabling visualization of tool change markers in preview
This commit is contained in:
@@ -2399,7 +2399,7 @@ void GCodeViewer::refresh_render_paths(bool keep_sequential_current_first, bool
|
|||||||
|
|
||||||
buffer.model.instances.render_ranges.reset();
|
buffer.model.instances.render_ranges.reset();
|
||||||
|
|
||||||
if (!buffer.visible)
|
if (!buffer.visible || buffer.model.instances.s_ids.empty())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
buffer.model.instances.render_ranges.ranges.push_back({ 0, 0, 0, buffer.model.color });
|
buffer.model.instances.render_ranges.ranges.push_back({ 0, 0, 0, buffer.model.color });
|
||||||
|
|||||||
Reference in New Issue
Block a user