mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-24 21:38:59 +08:00
[fix] fix broken material animations (again)
This commit is contained in:
parent
c37fc01e77
commit
762cf2dba2
@ -244,9 +244,10 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
case StateMachineBehaviour _:
|
case StateMachineBehaviour _:
|
||||||
break; // We want to clone these types
|
break; // We want to clone these types
|
||||||
|
|
||||||
// Leave textures and script definitions alone
|
// Leave textures, materials, and script definitions alone
|
||||||
case Texture2D _:
|
case Texture2D _:
|
||||||
case MonoScript _:
|
case MonoScript _:
|
||||||
|
case Material _:
|
||||||
return original;
|
return original;
|
||||||
|
|
||||||
// Also avoid copying unknown scriptable objects.
|
// Also avoid copying unknown scriptable objects.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user