mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 04:22:04 +08:00
SPE-1872: Fixed rendering of wipe moves when actual speed view is selected
This commit is contained in:
parent
fbb7eb77b4
commit
feacbc2933
@ -948,8 +948,13 @@ Color ViewerImpl::get_vertex_color(const PathVertex& v) const
|
||||
if (v.type == EMoveType::Noop)
|
||||
return DUMMY_COLOR;
|
||||
|
||||
#if VGCODE_ENABLE_ET_SPE1872
|
||||
if ((v.is_wipe() && m_settings.view_type != EViewType::ActualSpeed) || v.is_option())
|
||||
return get_option_color(move_type_to_option(v.type));
|
||||
#else
|
||||
if (v.is_wipe() || v.is_option())
|
||||
return get_option_color(move_type_to_option(v.type));
|
||||
#endif // VGCODE_ENABLE_ET_SPE1872
|
||||
|
||||
switch (m_settings.view_type)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user