Browse Source

Revert "Disallow duplicate camera pushes"

This reverts commit e32fb9b9e248b03b8715904b9a4c0c70b1309cc1, which
introduced camera region bugs
Adam Johnson 13 years ago
parent
commit
cba9f459e8
  1. 7
      Sources/Plasma/FeatureLib/pfCamera/plVirtualCamNeu.cpp

7
Sources/Plasma/FeatureLib/pfCamera/plVirtualCamNeu.cpp

@ -1507,8 +1507,13 @@ void plVirtualCam1::AddCameraToStack(plCameraModifier1* pCam)
void plVirtualCam1::PushCamera(plCameraModifier1* pCam, hsBool bDefault)
{
// pushing the same camera, folks?
// -- disallowed 2/13/2012 --
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;
// look up whatever transition we might have specified

Loading…
Cancel
Save