Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix wi::scene::LoadModel returning the wrong entity (#921)
Fixed a bug caused by a typo in the LoadModel function call. The issue occurred because LoadModel(scene, fileName, transformMatrix, rootEntity) was mistakenly called instead of LoadModel2(scene, fileName, transformMatrix, rootEntity). The compiler did not catch this mistake because the last parameter of LoadModel is a boolean, and rootEntity was incorrectly used to satisfy that parameter.
- Loading branch information