minor bug fix
This commit is contained in:
@@ -128,6 +128,8 @@ public class UmaViewerGlobalShader : MonoBehaviour
|
|||||||
{
|
{
|
||||||
//Used to calculate the correct outline
|
//Used to calculate the correct outline
|
||||||
//Outline need more adjust in live
|
//Outline need more adjust in live
|
||||||
|
if (!UmaViewerUI.Instance.LiveTime)
|
||||||
|
{
|
||||||
if (UmaViewerBuilder.Instance.CurrentUMAContainer)
|
if (UmaViewerBuilder.Instance.CurrentUMAContainer)
|
||||||
{
|
{
|
||||||
if (UmaViewerBuilder.Instance.CurrentUMAContainer.UpBodyBone)
|
if (UmaViewerBuilder.Instance.CurrentUMAContainer.UpBodyBone)
|
||||||
@@ -142,6 +144,12 @@ public class UmaViewerGlobalShader : MonoBehaviour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Shader.SetGlobalFloat("_GlobalCameraFov", 30);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user