Skip to content

Commit

Permalink
Deleting Model Changes Position (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed May 9, 2022
1 parent f7ac3a2 commit 81a037a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void Subwindow_DeleteModel::UpdateConfirmDeletePopup() {
if (ImGui::Button("Confirm", ImVec2(120, 0)) || ImGui::IsKeyPressed(GLFW_KEY_ENTER)) { // If Button Pressed, Or Enter Key Pressed
SceneManager_->Scenes_[SceneIndex_]->Models.erase(SceneManager_->Scenes_[SceneIndex_]->Models.begin() + ModelIndex_);
ShowDeleteConfirm_ = false;
Cursor_->
Cursor_->ObjectHasChanged();
}
ImGui::SameLine();
if (ImGui::Button("Abort", ImVec2(120, 0)) || ImGui::IsKeyPressed(GLFW_KEY_ESCAPE)) { // If Button Pressed, Or Escape Key Pressed
Expand Down

0 comments on commit 81a037a

Please sign in to comment.