mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 15:55:51 +08:00
SPE-2218 - libvgcode - Fixed color of wipe moves for speed range view
This commit is contained in:
parent
473f58c4e6
commit
87e1341e6f
@ -1425,7 +1425,7 @@ Color ViewerImpl::get_vertex_color(const PathVertex& v) const
|
||||
if (v.type == EMoveType::Noop)
|
||||
return DUMMY_COLOR;
|
||||
|
||||
if ((v.is_wipe() && m_settings.view_type != EViewType::ActualSpeed) || v.is_option())
|
||||
if ((v.is_wipe() && (m_settings.view_type != EViewType::Speed && m_settings.view_type != EViewType::ActualSpeed)) || v.is_option())
|
||||
return get_option_color(move_type_to_option(v.type));
|
||||
|
||||
switch (m_settings.view_type)
|
||||
|
Loading…
x
Reference in New Issue
Block a user