Commit Graph

264 Commits

Author SHA1 Message Date
bd_
b30504c348 chore: enable code coverage 2023-01-16 21:15:30 +09:00
anatawa12
85676c5fbf chore: make RuntimeUtil internal via InternalsVisibleTo 2023-01-09 19:23:30 +09:00
bd_
76dfa2a6fc chore: more perf improvements 2023-01-05 21:47:37 +09:00
bd_
0217c0ecf0 1.4.0-rc-1 2023-01-05 21:31:15 +09:00
bd_
250e8be54c fix: improve build performance by ~10x
CreateAsset, as it turns out, can be extremely slow, particularly when used on Mesh objects.
By adding our generated objects as sub-objects of a container AnimatorController, we can
minimize this overhead.
2023-01-05 21:30:44 +09:00
bd_
b13f60e80f chore: remove debug print 2023-01-05 21:12:30 +09:00
bd_
1635b988a9
feat: improved merge armature implementation (#174)
This branch rewrites the merge armature logic to be both simpler and more reliable. In particular, all components in the merged armature will always be moved into the target armature, eliminating the need for complex and unreliable constraint adjustments. I also rewrite the path remapping logic to be more reliable by tracking actual GameObjects, rather than string paths.

This change fixes a number of constraint-heavy outfits, including:

* https://cloudz.booth.pm/items/3751948
* https://capettiya.booth.pm/items/4424678

It also fixes issues with some more advanced use cases, such as animating transforms on bones that are newly added using merge armature.
2023-01-05 04:10:22 -08:00
bd_
b9fde37285 1.3.0 2023-01-02 16:47:09 +09:00
bd_
435ce7b248 fix: NPE in menu installer editor 2023-01-02 16:44:52 +09:00
bd_
569275dcba fix: NPE on null submenu reference 2023-01-02 16:44:37 +09:00
らいちちゃん
a361789c43
feat: add support for nested Menu Installer operation
With this change it is now possible for Menu Installer to specify as its target a menu installed by another Menu Installer, or a submenu thereof. This allows prefabs to inject extension entries into other prefab menus.
2023-01-01 23:42:54 -08:00
bd_
549ce8f0d3 fix: add more heuristic bone mappings 2023-01-02 16:27:35 +09:00
bd_
db49e2e210 fix: blendshape sync breaks with default binding 2022-12-31 18:43:11 +09:00
bd_
2bfefc7bac 1.2.1 2022-12-20 21:33:10 +09:00
bd_
5351b7befb fix: multiple bugs in Activator
* Activator tries to mark scene dirty in play mode (fixes #164)
* Activator creates multiple hidden objects which build up over time
2022-12-20 04:32:49 -08:00
bd_
39be252f12 1.2.0 2022-12-19 18:56:42 +09:00
bd_
2bea35b9df chore: fix harmless use-after-destroy warning in Activator 2022-12-18 15:41:43 +09:00
bd_
9d63ca60e4 1.2.0-rc0 2022-12-18 14:42:07 +09:00
bd_
f49c6a0d2e ensure that MA processing runs even if all MA components are inactive 2022-12-17 21:31:16 -08:00
bd_
ab2761a30f Avoid recursive reprocessing of avatars 2022-12-17 21:21:50 -08:00
bd_
1a12a4b6bd chore: dev dep version and project config updates 2022-12-17 20:26:01 -08:00
bd_
df8d0d7981 Workaround Merge Armature breaking parent PBs
The Merge Armature logic is in need of an overall rewrite, but this works around
issues where added (duplicate) bones break PBs in parents, by adding these to parent PB ignore lists.
2022-12-17 00:28:46 -08:00
bd_
1a114b65fe Fix blendshape sync not using remapped names for animations 2022-12-16 23:55:33 -08:00
anatawa12
42d83304ab chore: reduce # of GetComponentsInChildren 2022-12-12 16:14:11 -08:00
anatawa12
664a6c3081 chore: extract mapping constraint source to one method 2022-12-12 16:14:11 -08:00
anatawa12
27bb7b6312 fix: worldUpObject of AimConstraint and LookAtConstraint is not fixed up 2022-12-12 16:14:11 -08:00
raiti-chan
622ea7d387 Fix validation methods to avoid infinite loops. 2022-12-12 16:02:31 -08:00
bd_
223f96d04e Initial implementation of heuristic bone matching
Closes: #105
2022-12-10 16:58:46 -08:00
bd_
c70e821271 Import an initial list of bone name patterns 2022-12-10 16:58:46 -08:00
bd_
8bbe774ea1
Adjust callback order to support EditorOnly fully (#151) 2022-12-09 12:41:07 -08:00
bd_
56e08513a5
Prune duplicate PBs on merge armature (#150)
This fixes issues where outfits which duplicate the PB components from the
base avatar can result in PB motion breaking after merge.
2022-12-09 12:39:39 -08:00
bd_
2ac191555e
Sanitize invalid icons on menu installation (#146) 2022-12-09 11:40:22 -08:00
bd_
e7ec5b08b4
Add warning in inspector UI for incompatible VRCSDK versions. (#147) 2022-12-09 11:40:16 -08:00
bd_
b7b4fde863
Fix NRE caused by missing root bone (#149)
Fixes: #135
2022-12-09 11:40:07 -08:00
bd_
5911973e9d
Enable (but no-op) setup outfit when outfit is already setup (#148)
Closes: #132
2022-12-09 11:40:00 -08:00
らいちちゃん
811c934f40
Added support for AnimatorOverrideController (#139) 2022-12-09 10:55:17 -08:00
Narazaka
d72e529ad7
たぶんPathは「パス」とするのが一般的 (#137) 2022-12-08 13:58:47 -08:00
らいちちゃん
19a6923051
Add validation for menu icons. (#130) 2022-12-02 20:32:40 -08:00
bd_
118c2bd961 1.1.2 2022-12-01 10:26:37 -08:00
bd_
474fd1a37c vpm manifest updates 2022-12-01 10:26:31 -08:00
bd_
b06e27f3c3
[fix] fix broken material animations (again) (#129) 2022-12-01 10:14:08 -08:00
bd_
c37fc01e77
1.1.1 2022-11-30 21:40:46 -08:00
bd_
83e432b245
Fix some transitions breaking animator merge logic (#127) 2022-11-30 21:38:54 -08:00
bd_
b9749a9e6d
[chore] don't lock to a specific vrchat SDK version (#123) 2022-11-30 14:55:54 -08:00
bd_
65ea7e6434 Fix bug where physbone blocker would skip every other xform 2022-11-30 13:02:05 -08:00
bd_
e58ffbf3a3 1.1.0 2022-11-30 12:50:49 -08:00
bd_
5bc9211f80
Add a component to block PhysBone chains (#113)
Closes: #111, #104
2022-11-30 12:49:45 -08:00
bd_
55e363c1b2
[ui] prevent Setup Outfit from running on an avatar root (#121)
Closes: #118
2022-11-30 12:49:21 -08:00
bd_
2530588fe0
Fix animator cloning creating duplicate MonoScript objects (#116)
Closes: #115
2022-11-30 12:42:57 -08:00
bd_
d66881fa80
Close blendshape selection window when it loses focus (#120) 2022-11-30 12:41:57 -08:00
らいちちゃん
42618e464c
Added support for closing AvMenuTreeViewWindow automatically when it loses focus. (#119) 2022-11-30 12:40:10 -08:00
Koarare
541d2f3e65
Fix issue where bounding box size changes if the base avatar and outfit scale is different (#117) 2022-11-30 05:45:58 -08:00
bd_
e1e18a45a8 1.0.1 2022-11-29 09:58:49 -08:00
bd_
9a38bd8620
Fix some issues caused by nesting AvatarDescriptors (#110) 2022-11-29 09:58:12 -08:00
bd_
072b5c1ff1
Fix merging of material swap animations (#109) 2022-11-29 09:58:03 -08:00
Koarare
2ad706b3f5
Search all children of the armature when running setup outfit (#108)
https://github.com/bdunderscore/modular-avatar/issues/101

Closes: #101
2022-11-28 20:34:13 -08:00
bd_
80e0c45519 Fix pentip minimum vertex distance (again) 2022-11-27 21:45:39 -08:00
bd_
d2cad436cf 1.0.0 2022-11-27 13:55:45 -08:00
bd_
ff313f33a9 Avoid exposing a bunch of internal APIs 2022-11-27 13:51:39 -08:00
bd_
bd3ee6987b 1.0.0-rc3 2022-11-26 12:57:45 -08:00
bd_
0dd571e371 Restore compatibility with legacy unitypackage VRCSDKs
If this breaks again I probably won't fix it.
2022-11-26 12:57:29 -08:00
bd_
25729dc81b 1.0.0-rc2 2022-11-25 15:40:44 -08:00
bd_
989b6ea926 [MenuInstaller] Display the root menu in editor UI when defaulting to the root menu
Closes: #94
2022-11-25 15:40:29 -08:00
bd_
3ef87552e9 [MergeAnimator] Default to FX layer
Closes: #96
2022-11-25 15:33:18 -08:00
bd_
929f1a4d9f Rename manual bake menu item and add validator
Closes: #95
2022-11-25 15:32:04 -08:00
bd_
1432b4428b Change the allowlist patch to avoid private member reflection 2022-11-25 11:47:22 -08:00
bd_
9b8307cbdb Add an icon to the continuation menu control
Future work: Make the icon style configurable (needs some kind of avatar-wide
config system)
2022-11-24 19:22:23 -08:00
bd_
724b2bd285 Add a bunch of icons contributed by WWR
Icon author: WWR (https://twitter.com/WWRPR)
Contributed under the MIT license.
2022-11-24 19:21:44 -08:00
bd_
7e6609fde8 1.0.0-rc1 2022-11-24 18:18:44 -08:00
bd_
3f65250c64 Fix null in generated submenus breaking av3emu 2022-11-24 18:00:18 -08:00
bd_
a7db1c9a85 0.9.1 2022-11-24 17:19:55 -08:00
bd_
d2f8c22ac8 Fix quadratic time behavior on exception
Previously, processing would abort before clearing AvatarTagComponents when an exception
is thrown. This would result in unprocessed AvatarTagComponents re-triggering processing
as part of their Awake callback, causing O(n^2) behavior.
2022-11-24 17:19:37 -08:00
bd_
7ed1593bda Fix exception caused by nested MA Parameters using the same parameter name 2022-11-24 17:18:34 -08:00
bd_
aca6af3cb4 0.9.0 2022-11-23 20:43:42 -08:00
bd_
e5a858cf68 Set attachment mode on clap sample 2022-11-23 20:43:42 -08:00
bd_
d8b1183c30 Add support for world-locking bone proxies (useful for cloth setups) 2022-11-23 19:33:00 -08:00
bd_
8af7b0d5d6 Fix state machine outgoing transitions not being name-mangled
Closes: #93
2022-11-23 19:33:00 -08:00
bd_
4ce3223844 Add additional bone proxy validation
Closes: #85
2022-11-19 19:12:23 -08:00
bd_
999add24c9 Fix blend tree parameters not being remapped
Closes: #91
2022-11-19 19:12:23 -08:00
bd_
08897abab1 Clear pen on reenable 2022-11-19 19:12:23 -08:00
bd_
a4d039843d Fix error in BlendshapeSyncAnimationProcessor 2022-11-19 19:12:23 -08:00
bd_
b4e370aad3 Improvements to clap sample 2022-11-13 19:14:22 -08:00
bd_
a544765727 Fix infinite recursion in BoneProxyEditor 2022-11-13 18:55:31 -08:00
bd_
b4eb48cc7e 0.8.0 2022-11-10 20:49:32 -08:00
bd_
702b20519a Update email 2022-11-10 20:47:28 -08:00
bd_
46b2195f33 Fix concurrent modification exception
Closes: #86
2022-11-10 20:45:10 -08:00
bd_
318599ae3d The Big Rename
Closes: #84
2022-11-10 20:42:46 -08:00
bd_
b7e4409d6b Only show the logo once per inspector pane 2022-11-10 20:30:10 -08:00
bd_
acf692fd14 0.7.1 2022-11-09 19:55:40 -08:00
bd_
397061c360 Some docs updates 2022-11-09 18:17:00 -08:00
bd_
b3eec08abe Organize add component menu 2022-11-09 17:49:00 -08:00
bd_
2091402572 Rename FPV -> Visible Head Accessory 2022-11-09 17:39:52 -08:00
bd_
3486adbca2 Workaround a unity bug resulting in broken AV3 debug displays
Thanks to @TCL987 for a hint as to where to start looking!
2022-11-08 20:11:02 -08:00
bd_
4f4faa929d Show warning when components are outside of the avatar root
Closes: #39
2022-11-07 20:44:00 -08:00
bd_
031d3f009f 0.7.0 2022-11-07 20:29:25 -08:00
bd_
ec4a5db0c5 ParameterPolicy: Detect parameter driver parameters
Closes: #60
2022-11-07 20:28:43 -08:00
bd_
8bb1969ecf Support path remappings in the FPVProcessor
As part of this, PathMappings was refactored to support processing original paths through
multiple phases of remapping.

Closes #73
2022-11-07 20:21:15 -08:00
bd_
c2f390071a Remove some excessive debug 2022-11-07 20:20:18 -08:00
bd_
4be0293d9d Fix up animator layer control references within the same animator
This change adjusts the layer indices for animator layer control state behaviors, assuming
that the reference is for a layer in the same animator. This partially addresses #67 for v1.0;
fully addressing this requires figuring out how to specify a reference to an arbitrary other Merge
Animator target.
2022-11-07 20:05:50 -08:00
bd_
bd9e3711ea Add support for mapping blendshapes with different names in source and target
Closes: #70
2022-11-07 19:37:20 -08:00