mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-03 01:20:38 +08:00
Removed debug code
This commit is contained in:
parent
81113218cc
commit
f44d2e14a1
@ -3020,8 +3020,6 @@ float GCodeProcessor::get_retract_acceleration(PrintEstimatedStatistics::ETimeMo
|
|||||||
#if ENABLE_RETRACT_ACCELERATION
|
#if ENABLE_RETRACT_ACCELERATION
|
||||||
void GCodeProcessor::set_retract_acceleration(PrintEstimatedStatistics::ETimeMode mode, float value)
|
void GCodeProcessor::set_retract_acceleration(PrintEstimatedStatistics::ETimeMode mode, float value)
|
||||||
{
|
{
|
||||||
std::cout << value << "\n";
|
|
||||||
|
|
||||||
size_t id = static_cast<size_t>(mode);
|
size_t id = static_cast<size_t>(mode);
|
||||||
if (id < m_time_processor.machines.size()) {
|
if (id < m_time_processor.machines.size()) {
|
||||||
m_time_processor.machines[id].retract_acceleration = (m_time_processor.machines[id].max_retract_acceleration == 0.0f) ? value :
|
m_time_processor.machines[id].retract_acceleration = (m_time_processor.machines[id].max_retract_acceleration == 0.0f) ? value :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user