Fix : 시네머신 블룸 안정성 코드 추가
This commit is contained in:
parent
7a5763389a
commit
d014febf01
@ -220,7 +220,11 @@ namespace Streamingle.StreamingleControl.Extensions
|
|||||||
if (stage == CinemachineCore.Stage.Finalize)
|
if (stage == CinemachineCore.Stage.Finalize)
|
||||||
{
|
{
|
||||||
var extra = GetExtraState<VcamExtraState>(vcam);
|
var extra = GetExtraState<VcamExtraState>(vcam);
|
||||||
if (!IsValid)
|
|
||||||
|
// Only apply volume settings if this camera is live (active)
|
||||||
|
bool isLive = CinemachineCore.IsLive(vcam);
|
||||||
|
|
||||||
|
if (!IsValid || !isLive)
|
||||||
extra.DestroyProfileCopy();
|
extra.DestroyProfileCopy();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user