mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-04 13:45:04 +08:00
[fix] fix broken material animations (again) (#129)
This commit is contained in:
parent
c37fc01e77
commit
b06e27f3c3
@ -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…
Reference in New Issue
Block a user