Skip to content

Commit

Permalink
Integrate Viewport Cameras Into Object Properties
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed Aug 12, 2022
1 parent a2877cb commit 5ea84dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5ea84dc

Please sign in to comment.