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 0d1ac1f commit 4de735e
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_->ObjectHasChanged();
SceneManager->Scenes_[SceneManager->ActiveScene_]->HasSelectionChanged = true;
}
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 4de735e

Please sign in to comment.