mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Revert "Disallow duplicate camera pushes"
This reverts commit e32fb9b9e248b03b8715904b9a4c0c70b1309cc1, which introduced camera region bugs
This commit is contained in:
@ -1507,8 +1507,13 @@ void plVirtualCam1::AddCameraToStack(plCameraModifier1* pCam)
|
|||||||
void plVirtualCam1::PushCamera(plCameraModifier1* pCam, hsBool bDefault)
|
void plVirtualCam1::PushCamera(plCameraModifier1* pCam, hsBool bDefault)
|
||||||
{
|
{
|
||||||
// pushing the same camera, folks?
|
// pushing the same camera, folks?
|
||||||
// -- disallowed 2/13/2012 --
|
|
||||||
if (pCam == GetCurrentStackCamera())
|
if (pCam == GetCurrentStackCamera())
|
||||||
|
{
|
||||||
|
AddCameraToStack(pCam);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
// make sure that we don't keep adding the default camera if we're already in it
|
||||||
|
if (bDefault && pCam == GetCurrentStackCamera())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// look up whatever transition we might have specified
|
// look up whatever transition we might have specified
|
||||||
|
Reference in New Issue
Block a user