diff --git a/Source/Core/Editor/Windows/GUI_Window_ObjectProperties/GUI_Window_ObjectProperties.cpp b/Source/Core/Editor/Windows/GUI_Window_ObjectProperties/GUI_Window_ObjectProperties.cpp index 39f301c5b9..76bf2fb6d2 100644 --- a/Source/Core/Editor/Windows/GUI_Window_ObjectProperties/GUI_Window_ObjectProperties.cpp +++ b/Source/Core/Editor/Windows/GUI_Window_ObjectProperties/GUI_Window_ObjectProperties.cpp @@ -295,7 +295,7 @@ void GUI_Window_ObjectProperties::Draw() { ImGui::Spacing(); - bool ToggleAspectRatio = ImGui::Checkbox("Enforce Aspect Ratio", &Camera->EnforceAspectRatio_); + ImGui::Checkbox("Enforce Aspect Ratio", &Camera->EnforceAspectRatio_); if (!Camera->EnforceAspectRatio_) { ImGui::BeginDisabled();