mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Fixed build on OsX
This commit is contained in:
@@ -301,7 +301,6 @@ void Mouse3DController::render_settings_dialog(unsigned int canvas_width, unsign
|
||||
ImGui::PopStyleColor();
|
||||
Vec3f translation = m_state.get_translation().cast<float>();
|
||||
Vec3f rotation = m_state.get_rotation();
|
||||
unsigned int button = m_state.get_button();
|
||||
ImGui::InputFloat3("Translation##3", translation.data(), "%.3f", ImGuiInputTextFlags_ReadOnly);
|
||||
ImGui::InputFloat3("Rotation##3", rotation.data(), "%.3f", ImGuiInputTextFlags_ReadOnly);
|
||||
|
||||
|
||||
@@ -47,8 +47,10 @@ class Mouse3DController
|
||||
template <class T>
|
||||
struct InputQueue
|
||||
{
|
||||
size_t max_size{ 20 };
|
||||
size_t max_size;
|
||||
std::queue<T> queue;
|
||||
|
||||
InputQueue() : max_size(20) {}
|
||||
};
|
||||
|
||||
InputQueue<Vec3d> m_translation;
|
||||
|
||||
Reference in New Issue
Block a user