From 567106e6d3d9877afb2d42f046c0b9bf820045c0 Mon Sep 17 00:00:00 2001 From: carmenfan Date: Tue, 5 Apr 2016 10:14:16 +0100 Subject: [PATCH] #v1.0Beta need to rotate the shift --- bouncer/src/repo/core/model/collection/repo_scene.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bouncer/src/repo/core/model/collection/repo_scene.cpp b/bouncer/src/repo/core/model/collection/repo_scene.cpp index 6f3ff5403..dd831d7b2 100644 --- a/bouncer/src/repo/core/model/collection/repo_scene.cpp +++ b/bouncer/src/repo/core/model/collection/repo_scene.cpp @@ -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 {