mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
ENABLE_3DCONNEXION_DEVICES - Added missing return lines
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user