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 10, 2022
1 parent 77ca339 commit 962190c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ void Subwindow_DeleteSpotLight::UpdateConfirmDeletePopup() {
if (ImGui::Button("Confirm", ImVec2(120, 0)) || ImGui::IsKeyPressed(GLFW_KEY_ENTER)) { // If Button Pressed, Or Enter Key Pressed
SceneManager_->Scenes_[SceneIndex_]->SpotLights.erase(SceneManager_->Scenes_[SceneIndex_]->SpotLights.begin() + SpotLightIndex_);
ShowDeleteConfirm_ = false;
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 962190c

Please sign in to comment.