Skip to content

Commit

Permalink
Fix Multi-Scene Loading Issues (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed Jun 25, 2022
1 parent 379291a commit 4549502
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ void ERS_CLASS_VisualRenderer::UpdateViewport(int Index, ERS_CLASS_SceneManager*

// Get Selected Model
int SelectedObject = ActiveScene->SelectedObject;
if (SelectedObject >= ActiveScene->SceneObjects_.size()) {
if ((unsigned int)SelectedObject >= ActiveScene->SceneObjects_.size()) {
SelectedObject = 0;
ActiveScene->SelectedObject = 0;
}
Expand Down

0 comments on commit 4549502

Please sign in to comment.