Skip to content

Commit

Permalink
#v1.0Beta need to rotate the shift
Browse files Browse the repository at this point in the history
  • Loading branch information
carmenfan committed Apr 5, 2016
1 parent 3dd9f23 commit 567106e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bouncer/src/repo/core/model/collection/repo_scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,12 @@ void RepoScene::reorientateDirectXModel()

//Clear the stash as bounding boxes in mesh mappings are no longer valid like this.
clearStash();


//Apply the rotation on the offset
auto temp = worldOffset[2];
worldOffset[2] = -worldOffset[1];
worldOffset[1] = temp;
}
else
{
Expand Down

0 comments on commit 567106e

Please sign in to comment.