mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Fix crazy camera stack issues
Turns out, it was an artifact of us suspending the simulation during links and partly because of Cyan's late adding of the avatar controller to the sim. Now, we add the avatar as soon as the age data is loaded. This causes the camera stack to be populated with whatever garbage PhysX decides on, then xJourneyClothsGen2 is free to set the real stack after we get all the SDL from the server. Verified to fix Teledahn oddness and not display a regression in Kemo.
This commit is contained in:
@ -1680,19 +1680,9 @@ void plVirtualCam1::PushCamera(plCameraModifier1* pCam, bool bDefault)
|
||||
|
||||
void plVirtualCam1::PopCamera(plCameraModifier1* pCam)
|
||||
{
|
||||
// sanity / new default camera check
|
||||
// sanity / new default camera check
|
||||
if (fCameraStack.size() <= 1)
|
||||
return;
|
||||
|
||||
// Crazy Special Casing Turd: [based on some Cyan crap]
|
||||
// is it the current camera AND the same camera we would otherwise switch to?
|
||||
// if so, pop off the dupe if we're going to the age default... otherwise, go crazy.
|
||||
if (fCameraStack.size() > 2 && pCam == GetCurrentStackCamera())
|
||||
{
|
||||
int theDupe = fCameraStack.size() - 1;
|
||||
if (pCam == fCameraStack[theDupe] && theDupe == 2)
|
||||
fCameraStack.pop_back();
|
||||
}
|
||||
|
||||
// are we mouse-looking?
|
||||
bool mLook = false;
|
||||
|
Reference in New Issue
Block a user