mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
ENABLE_3DCONNEXION_DEVICES - Added missing return lines
This commit is contained in:
parent
587effbedf
commit
b15757a126
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue