mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-11 23:19:00 +08:00
Fix merging of material swap animations
This commit is contained in:
parent
2ff25eb94a
commit
8622c9c044
@ -231,6 +231,13 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
{
|
||||
if (original == null) return null;
|
||||
|
||||
switch (original)
|
||||
{
|
||||
case Texture _:
|
||||
case Material _:
|
||||
return original;
|
||||
}
|
||||
|
||||
if (cloneMap == null) cloneMap = new Dictionary<Object, Object>();
|
||||
|
||||
if (cloneMap.ContainsKey(original))
|
||||
|
Loading…
x
Reference in New Issue
Block a user