mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
Set previous active cam inactive
shouldn't be needed but just in case
This commit is contained in:
@@ -71,6 +71,7 @@ function startTempCam(cam, renderTime, loadScene, filter, switchCam)
|
||||
-- if moving from a cached previous cam, or you've sent a camre id for it to switch from, interpolate to it
|
||||
if switchCam or cachePrevCam then
|
||||
SetCamActiveWithInterp(cam, cachePrevCam, renderTime or 1000, 0, 0)
|
||||
SetCamActive(cachePrevCam, false) -- Set previous cam inactive (shouldn't be needed but just in case)
|
||||
else
|
||||
SetCamActive(cam, true)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user