Commit Graph

20 Commits

Author SHA1 Message Date
bd_
4d6a143e79 Always cleanup assets when entering edit mode 2022-09-10 10:52:30 -07:00
bd_
5c0b62f295 Restore Merge Armature locked mode references on prefab instantiation 2022-09-10 10:52:30 -07:00
bd_
d5956d6d2d Fix attempted destruction of constraint assets 2022-09-10 09:54:26 -07:00
bd_
1c6db2a01f Avoid scary errors when entering play mode
As part of our hook processing, we destroy modular-avatar components;
however, when entering play mode (without av3emu), these components
might be prefab assets. To avoid scary unity errors, unpack these prefabs
when entering play mode.
2022-09-10 09:10:15 -07:00
bd_
113f7adbee
Merge pull request #16 from bdunderscore/fix-state-leak
Fix state leakage across builds
2022-09-09 20:39:33 -07:00
bd_
2681c1d4c0 Fix state leakage across builds 2022-09-09 20:36:04 -07:00
bd_
6d2084aca2 Workaround vrc bug - exceptions don't halt build
https://feedback.vrchat.com/sdk-bug-reports/p/exceptions-thrown-from-onpreprocessavatar-hooks-do-not-abort-the-build
2022-09-09 20:31:41 -07:00
bd_
f10aa6be18 Add license 2022-09-08 20:44:04 -07:00
bd_
4506605856 Remove a gratuitous SaveAssets call 2022-08-29 18:35:31 -07:00
bd_
4ee54d47a1 Avoid copying animators that have nothing merged in 2022-08-29 18:35:16 -07:00
bd_
5549332a68 Add option to auto-apply on play without av3emu 2022-08-29 18:34:22 -07:00
bd_
339fa77692 Revert "Remove bone proxy"
This reverts commit f0fa188d68.
2022-08-29 16:28:53 -07:00
bd_
96a453ae67 Fix incorrect instantiation of animator state behaviors 2022-08-29 16:25:18 -07:00
bd_
f0fa188d68 Remove bone proxy 2022-08-29 16:24:11 -07:00
bd_
261967ea1f Remove bootstrap for now 2022-08-29 16:22:01 -07:00
bd_
b154b01e45 Support editing original bone animations in modular components
This adds support for animation mapping for MergeArmature components, as well as supporting locking the position of
MergeArmature-controlled transforms to their original counterparts, to ease animation editing.

With this change it might be best to eliminate the bone proxy component, as it's a bit redundant now.
2022-08-29 15:13:26 -07:00
bd_
5b52ad45c1 Don't remap references to the animator itself 2022-08-29 14:00:40 -07:00
bd_
757eaa9a85 Rename MergeAnimator component, fix default layer references 2022-08-29 14:00:28 -07:00
bd_
e3f441ad89 Remove some dead code 2022-08-28 18:33:11 -07:00
bd_
91fb887dad Add a self-importing stub 2022-08-28 18:31:37 -07:00