Commit Graph

427 Commits

Author SHA1 Message Date
bd_
90811f3e55
Merge pull request #341 from bdunderscore/bone-mappings
fix: add some heuristic bone mappings
2023-06-19 20:29:19 +09:00
bd_
085c19cf1b
Merge pull request #340 from bdunderscore/velo-magnitude
fix: add VelocityMagnitude as builtin parameter
2023-06-19 20:20:35 +09:00
bd_
5b40a9392c
Merge pull request #339 from bdunderscore/retain-end-bones
fix: retain bones ending in "end"
2023-06-19 20:20:24 +09:00
bd_
7c2be605e7 fix: add some heuristic bone mappings
Closes: #316
2023-06-19 20:19:38 +09:00
bd_
339789c7c2 fix: add VelocityMagnitude as builtin parameter 2023-06-19 20:13:14 +09:00
bd_
3bed8b8527 fix: retain bones ending in "end"
Closes: #332
2023-06-19 20:11:18 +09:00
bd_
1965389904 fix: remove some leftover bits of the outfit menu system 2023-06-19 20:04:07 +09:00
bd_
cdb5ede7fe
Merge pull request #324 from bdunderscore/enhancement/mesh-settings
Add the Mesh Settings component
2023-06-19 20:02:08 +09:00
Hitsub
9a56ff5bb6
Change timing of BuildHeightCache (#333) (#336) 2023-06-18 15:45:07 +09:00
anatawa12
5577e4c1bc
fix: ArgumentException with components with missing script (#327) 2023-06-06 23:40:46 +09:00
bd_
ed4c1ad5a0
fix: Don't strip objects which contain unrecognized components (#325)
Fixes: #321
2023-06-05 21:41:46 +09:00
bd_
f41719e432 chore: remove components merged into the Mesh Settings component 2023-06-05 20:46:04 +09:00
bd_
3c7634e4ea feat: add Mesh Settings component 2023-06-05 20:18:46 +09:00
bd_
095c2667a0 fix: MA Menu Item was showing a spurious gizmo icon
Fix this for new components as well by using reflection to find all avatar tag components
and remove the gizmos appropriately.
2023-06-05 19:10:31 +09:00
bd_
d5c2b98a05
Merge branch 'main' into enhancement/add_bounds_override_module 2023-06-05 19:04:30 +09:00
AoiKamishiro
7bc29b2ea5
MAProbeAnchorの追加(ModularAvatarでAnchorOverrideを設定できるように) (#304)
Co-authored-by: AoiKamishiro <aoi.kamishiro@kamishiro.online>
2023-06-05 18:53:49 +09:00
raiti-chan
17589fceb5 Add BoundsOverride module and BoundsOverrideBlocker module 2023-05-31 22:37:10 +09:00
bd_
f4d8383ced 1.5.1 2023-05-23 21:11:07 +09:00
bd_
a4c3e1d0f4
fix: internal parameters not renamed on installed VRCExpressionMenu submenus (#314)
Thanks to suzuryg for finding the cause of the bug and suggesting an initial fix.

Reported-By: 33linn
Fixes: #305
2023-05-23 21:10:22 +09:00
HotKonti
c87ac92a04
Add Korean language support (#269)
* Add Korean language support

- Update Localization.cs to include Korean
- Add ko.json for Korean translations
- Add ko.json.meta file for metadata
2023-05-21 17:12:48 +09:00
bd_
044e2ae704 fix: "fake humanoid" bones can be pruned by game object GC pass 2023-05-21 17:01:07 +09:00
raiti-chan
9f0522b273 Changed to replace labels and subParameters of Control with an empty array if they are null. 2023-05-21 16:32:53 +09:00
bd_
ce2ba4f312 1.5.0 2023-05-17 20:28:06 +09:00
bd_
05f2276aab chore: adjust PreventStripTagObjects to avoid stripping non-MA components as well 2023-05-17 20:27:33 +09:00
Azukimochi
a7e4c11885 Add "Elbow_L/R" to bone name mapping
"Elbow_L/R" is bone name of KokuriRuru
2023-05-15 20:12:35 +09:00
bd_
86dd536e6e 1.5.0-beta-4 2023-05-14 22:13:17 +09:00
bd_
0115e3946b chore: update VPM dependencies 2023-05-14 22:02:52 +09:00
bd_
bf42cb95c1 rollback: remove action system for 1.5.0 release 2023-05-14 22:02:52 +09:00
bd_
ababe2e80a ui: presets menu 2023-05-14 20:18:41 +09:00
bd_
ab529dc936 chore: dependency updates 2023-05-14 20:18:41 +09:00
bd_
0d5ae35661 feat: make it easier to adjust the order of outfit menu items 2023-05-14 20:18:41 +09:00
bd_
6b5fc80167 fix: rename parameters hook interferes with menu installer references 2023-05-14 20:18:41 +09:00
bd_
ff7c3ff702 ui: add option to add outfit menu to avatar 2023-05-14 20:18:41 +09:00
bd_
e763281966 ui: group menu items [NEEDS DOCS] 2023-05-14 20:18:41 +09:00
bd_
1e2c821a25 ui/fix: action-related config shown on menu items with no actions 2023-05-14 20:18:41 +09:00
bd_
5a36db7b7f ui: add action blendshape editor 2023-05-14 20:18:41 +09:00
bd_
1175e43bfd chore: extract column logic for future inspectors 2023-05-14 20:18:41 +09:00
bd_
d8cab10a3d feat: unified clothing menu 2023-05-14 20:18:41 +09:00
bd_
5cba6f24cb feat: initial support for blendshape actions 2023-04-30 20:58:11 +09:00
bd_
93a0171940 feat: control groups now use default-to-off, no override support for now 2023-04-30 20:08:31 +09:00
bd_
cae4622bfc compat/feat: use AvatarObjectReference for action paths 2023-04-30 19:55:45 +09:00
bd_
47a1e8393c 1.5.0-beta-3 2023-04-26 20:21:25 +09:00
bd_
f7f9fc773c
fix: SDK 3.2.0-beta.1 compatibility (#289) 2023-04-26 20:20:30 +09:00
Hitsub
f12db983c1
Meshが空のSkinnedMeshRendererがあるとActionGeneratorがエラーを起こすのを修正 (#280) 2023-04-20 17:33:15 +09:00
Hitsub
1901035fd8
空のSubMenuがあるとMenuInstallerの表示でエラーが発生するのを修正 (#282) 2023-04-20 17:33:04 +09:00
bd_
626072ae69 1.5.0-beta-2 2023-04-15 19:50:27 +09:00
bd_
4295767be7 chore: fixing broken tests 2023-04-15 19:49:50 +09:00
bd_
20dae6e5cb 1.5.0-beta-1 2023-04-15 19:36:43 +09:00
bd_
cc1d11a06c chore: workaround IEditorOnly objects being deleted too soon 2023-04-15 19:17:30 +09:00
bd_
a910fa5c05 Merge remote-tracking branch 'origin/main' into dev-merge 2023-04-15 18:16:07 +09:00
bd_
5b0c57ce7c
docs: add jp reference docs for new menu system (#277)
* docs: add SimpleToggle prefab

* docs: ja reference docs
2023-04-15 18:14:28 +09:00
bd_
a300622bb2
feat: support unsynced/saved toggles in new menu system (#276)
* chore: add support for synced/saved settings on menu actions

* feat: move action defaults to control group

* chore: finish the control group ui updates

* docs: update tutorial

* docs: update control group documentation

* docs/ui: menu install target UI and docs
2023-04-15 18:11:30 +09:00
bd_
9dc44d8ccc
feat: add support for local-only parameters to Parameters component (#275)
* feat: add support for local parameters

* docs: update parameters docs
2023-04-15 17:06:35 +09:00
bd_
ab3b05752a chore: [ui] try to make the action toggle object ui a little bit clearer 2023-04-15 16:39:32 +09:00
bd_
0f07872659 chore: set icons for new component scripts 2023-04-15 16:39:32 +09:00
bd_
d1288fd335
fix: use IEditorOnly instead of mokeypatching the SDK (#274)
Increased SDK version requirement to 3.1.13 accordingly.
2023-04-11 20:21:00 +09:00
bd_
82d58e52fa
fix: clap sample can't be uploaded on SDK 3.1.13 (#273)
* chore: update VPM dependencies

* fix: set sample audio clip to load in background
2023-04-10 21:27:10 +09:00
Narazaka
00054c1a52
自動生成などでsubParametersがnullのメニューアセットを指定した場合にエラるのを回避 (#263)
* 自動生成などでsubParametersがnullのメニューアセットを指定した場合にエラるのを回避

* chore: add test for null subparameter field issue

---------

Co-authored-by: bd_ <bd_@nadena.dev>
2023-04-10 20:18:59 +09:00
anatawa12
00c683dd23
fix: retarget is not performed if rootBone is the only bone to be retargeted (#241)
* fix: retarget is not performed if rootBone is the only bone to be retargeted

* fix: MeshRetargeter may cause NRE if mesh is null

* fix: MeshRetargeter is not working if sharedMesh is null

* test: add test case for SkinnedMeshRenderer only with rootBone

* test: fix RootBoneOnly test

* test: fix expected and actual

* test: add test for SkinnedMeshRenderer without mesh
2023-04-09 19:08:57 +09:00
eni
bd81bafc84
feat: add Foot=Ankle mapping, more hand bone names (#265)
This adds support for KokuriRuru, which uses `Ankle_L`/`Ankle_R` for foot bones, and the finger bones generated with the regex replacement `"([A-Za-z]+?)([1-3]_[LR])"` → `"$1$2", "$1Finger$2"`. (Except for thumbs, which still use `Thumb[1-3]_L` not `ThumbFinger[1-3]_L`. This is left in, as another avatar may use this naming.)
2023-04-08 20:46:25 +09:00
bd_
c7d3cb6fa4 chore: use WD blend tree to avoid getting facial expressions stuck 2023-04-05 21:34:16 +09:00
eni
43cd1e3875
fix: inconsistent handedness in finger bone names (#262) 2023-04-04 19:59:14 +09:00
bd_
023e8266ec fix: add "add menu item" button 2023-04-04 19:33:19 +09:00
bd_
72f0154cb4
fix: direct blend parameters not being remapped (#246)
Closes: #245
2023-03-25 15:29:00 +09:00
hill
7d97c75ef8
feat: improve usability of manual bake options
* select output avatar on manual bake
* add GameObject context menus
2023-03-23 19:09:41 +09:00
anatawa12
be654074d9
chore: add bone name mapping from BoneRenamer by Azukimochi (#234)
Co-authored-by: Azukimochi <103747350+Azukimochi@users.noreply.github.com>
2023-03-12 22:08:00 +09:00
bd_
f584f38303 chore: fix off-by-one error in ActionGenerator 2023-03-04 16:43:25 +09:00
bd_
e8366cd84a improvements to error reporting 2023-03-04 14:41:13 +09:00
bd_
76edc43aca
feat: menu actions (#231)
Add a new feature to generate animations for menu items automatically.
Currently this only supports generating blend-tree based GameObject toggles.
2023-03-04 14:31:23 +09:00
bd_
55a2229bc6 add missing Menu folder asset 2023-03-04 14:15:27 +09:00
bd_
2a321612fc GC unused game objects (#229) 2023-03-04 14:15:27 +09:00
bd_
99f8052dd9 Add missing AddComponentMenu annotations 2023-03-04 14:15:27 +09:00
bd_
d39e17a8f6 feat: add object-based menu system (#218)
This adds a GameObject/Component based menu editing system, heavily inspired by Hai's Expressions Menu Hierarchy editor (https://github.com/hai-vr/av3-expressions-menu-hierarchy-editor)
2023-03-04 14:15:27 +09:00
bd_
ce76bb2190
fix: exception in avatar parameters editor (#230) 2023-03-04 14:15:08 +09:00
bd_
f88f3e6225 1.4.5 2023-02-25 17:55:49 +09:00
bd_
319fd9a2ff
feat: add chest=bust mapping for the heuristic bone mapper (#227)
Closes: #220
2023-02-25 17:55:42 +09:00
bd_
2f7e6ccd6f
fix: parameter drivers attached to state machines are not renamed properly (#226) 2023-02-25 17:53:15 +09:00
bd_
d39c098893
feat: improve handling of editoronly objects (#224) 2023-02-25 17:53:09 +09:00
bd_
db7be7107c
fix: high quality curve setting is not preserved properly (#225)
This setting is set to _off_ on some imported animation files;
in this case, tangent data is not used and the curve is interpolated linearly.

Previously, we would sometimes set this to on as part of various animation
manipulations we perform in MA processing; this broke some avatars, e.g. "Fluria".
2023-02-25 17:53:02 +09:00
bd_
887f7d0dff
fix: improve parameter inspector perf when using lots of parameters
This doesn't fully close #217, but it's an improvement. Fully fixing it will require reworking the UI fully (or getting unity to fix their terrible code :/)
2023-02-22 23:29:45 +09:00
bd_
d385eb8800 fix: sometimes the MA icons aren't disabled properly
It seems that sometimes static initializers are created before the icon annotations are updated. This change checks for this case, and defers the icon-disabling until after the necessary annotation records are created.
2023-02-19 16:04:08 +09:00
bd_
092274d11c 1.4.4 2023-02-18 16:01:13 +09:00
bd_
d4639e2d70 Move actual icon to the icons repository
Since the icon isn't MIT-licensed, this change replaces it in the dev
repo with a placeholder and adds the real icon back in at package build
time (like we do with the main logo image).
2023-02-17 20:59:11 +09:00
Razgriz
46dd103f55 Disable MA icons on project load 2023-02-17 20:59:11 +09:00
Razgriz
7192f90e8e Add MA Icon & Assign to MA Component Scripts 2023-02-17 20:59:11 +09:00
bd_
dcc1650dbd fix: make generated assets easily visible in play mode 2023-02-08 22:35:44 +09:00
bd_
13e009b6fc chore: fix incorrect parameters for certain errors 2023-02-08 22:33:48 +09:00
bd_
c2e6bb53cd feat: Add error reporting UI 2023-02-08 22:19:10 +09:00
bd_
2a8c2ec3ce fix: NPE in blendshape sync editor 2023-02-08 22:04:46 +09:00
bd_
6566fd7b79 1.4.3 2023-01-31 20:20:49 +09:00
bd_
85617735e9 fix(visible-head-accessory): workaround unity crash
Reported-By: Momishiro
2023-01-30 22:55:56 +09:00
bd_
d6ab6c676f 1.4.2 2023-01-27 21:16:21 +09:00
bd_
8ac7217c26 fix: synced layer motion overrides not preserved over MA processing
Reported-By: ぷも
2023-01-27 21:15:38 +09:00
bd_
0374a9a099 fix: ArgumentNullException when blend tree clips are missing/none
fixes: 188
2023-01-27 21:15:26 +09:00
bd_
7e9dc20201 fix: proxy animations broken on legacy VRCSDK
fixes: #187
2023-01-26 18:33:34 +09:00
bd_
91813c54e8 1.4.1 2023-01-24 21:41:54 +09:00
bd_
d1e047a3d2 fix: mesh processing aborts when encountering null sharedMesh 2023-01-24 21:41:33 +09:00
bd_
fb19fd6cc0 fix: simple asset-root toggles are not remapped correctly 2023-01-24 21:41:20 +09:00
bd_
26270d5691 1.4.0 2023-01-20 20:42:23 +09:00
bd_
1b4b373343 1.4.0-rc-4 2023-01-19 21:49:40 +09:00
bd_
592f469b8b fix: wrong translations for new bone proxy modes 2023-01-19 21:45:01 +09:00
bd_
55827868f9 fix: keep position/keep rotation modes not applied in editor 2023-01-19 21:42:11 +09:00
bd_
231ae585bb rc3 2023-01-18 19:11:05 +09:00
bd_
33895a58e8 fix: BoneProxy non-humanoid references did not save properly 2023-01-18 19:09:28 +09:00
bd_
be32ed55f5 fix: BoneProxy editor is missing pos/rot hold options 2023-01-18 19:09:16 +09:00
bd_
ef1699e4da rc2 2023-01-17 20:41:45 +09:00
bd_
eb7af61a08 [BoneProxy] feat: add support for keeping only one of world position/rotation 2023-01-17 20:40:42 +09:00
Gizmo
51f7c5936d Add missing translations 2023-01-17 20:08:03 +09:00
Gizmo
acdcaa991e feat: add simplified chinese translation 2023-01-17 20:08:03 +09:00
bd_
305377c1bb feat: use english localization for untranslated strings 2023-01-17 20:06:50 +09:00
bd_
9f9c2af1bd chore: remove outdated comment 2023-01-17 19:56:12 +09:00
bd_
df47be245f fix: duplicate PB stripping fails in some configurations
The previous logic failed when duplicate PBs explicitly specify their root transform.
This change rewrites this logic and expands the cases in which PBs are pruned.
2023-01-17 00:01:08 +09:00
bd_
dd07acda1d chore: mark AfterProcessing hook internal 2023-01-16 21:15:30 +09:00
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