mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-03-10 07:44:57 +08:00
chore: Skip ApplyAnimatorDefaultValuesPass when not VRChat avatar (#731)
This commit is contained in:
parent
f077d24d48
commit
d15bbe86a2
@ -15,6 +15,8 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
{
|
{
|
||||||
protected override void Execute(ndmf.BuildContext context)
|
protected override void Execute(ndmf.BuildContext context)
|
||||||
{
|
{
|
||||||
|
if (!context.AvatarDescriptor) return;
|
||||||
|
|
||||||
var values = context.GetState<DefaultValues>()?.InitialValueOverrides
|
var values = context.GetState<DefaultValues>()?.InitialValueOverrides
|
||||||
?? ImmutableDictionary<string, float>.Empty;
|
?? ImmutableDictionary<string, float>.Empty;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user