mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-26 08:52:52 +08:00
Disabled camera clip planes updating from CutsceneForm, to fix rendering bug(s)
This commit is contained in:
parent
26183af00d
commit
93784bbc49
@ -63,7 +63,8 @@ namespace CodeWalker.World
|
||||
|
||||
if (Cutscene.CameraClipUpdate)
|
||||
{
|
||||
WorldForm.SetCameraClipPlanes(Cutscene.CameraNearClip, Cutscene.CameraFarClip);
|
||||
//// disabled this because it seems to be causing some rendering issues
|
||||
//WorldForm.SetCameraClipPlanes(Cutscene.CameraNearClip, Cutscene.CameraFarClip);
|
||||
Cutscene.CameraClipUpdate = false;
|
||||
}
|
||||
}
|
||||
@ -262,7 +263,7 @@ namespace CodeWalker.World
|
||||
|
||||
if (!AnimateCamera)
|
||||
{
|
||||
WorldForm?.ResetCameraClipPlanes();
|
||||
//WorldForm?.ResetCameraClipPlanes();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user