mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-08 22:39:09 +08:00
ENABLE_3DCONNEXION_DEVICES - Added missing return lines
This commit is contained in:
parent
587effbedf
commit
b15757a126
@ -293,6 +293,7 @@ bool AppConfig::get_mouse_device_translation_speed(const std::string& name, doub
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
translation_speed = ::atof(it_val->second.c_str());
|
translation_speed = ::atof(it_val->second.c_str());
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AppConfig::get_mouse_device_rotation_speed(const std::string& name, float& rotation_speed)
|
bool AppConfig::get_mouse_device_rotation_speed(const std::string& name, float& rotation_speed)
|
||||||
@ -307,6 +308,7 @@ bool AppConfig::get_mouse_device_rotation_speed(const std::string& name, float&
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
rotation_speed = (float)::atof(it_val->second.c_str());
|
rotation_speed = (float)::atof(it_val->second.c_str());
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
#endif // ENABLE_3DCONNEXION_DEVICES
|
#endif // ENABLE_3DCONNEXION_DEVICES
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user