Commit Graph

52 Commits

Author SHA1 Message Date
bd_
ddbc3b164b
chore: restructure repository to put package at top-level (#477)
* chore: rearrange package structure to have the package at the root

* ci: update CI workflows

* ci: fixing workflow bugs

* ci: recurse building .zip package

* ci: more fixes

* ci: add back in the nadena.dev VPM repo

* ci: fix tests
2023-10-08 15:39:57 +09:00
bd_
7e8aa3f5f1
fix: fix issues with nested armature confusion in Easy Setup Outfit (#469)
This fixes issues with nested armature confusion by changing the name of the
Armature object (only).
2023-10-03 19:38:01 +09:00
bd_
c454bc1ed8
fix: blendshape sync not being processed (#466)
* Add integration test for blendshape sync

* fix: blendshape sync not being processed

This change refactors AnimationDatabase to be part of the same extension
context as the TrackObjectRenames functionality (which is renamed back to
PathMappings). This then allows us to sequence deactivation of this context
to come after blendshape processing completes.

Fixes: #461
2023-10-01 00:09:43 +09:00
anatawa12
fc1abcfede
test: add test for runtime build (#452) 2023-09-26 19:55:39 +09:00
anatawa12
cd6e018d47
feat: MA World Fixed Object (#385) 2023-09-24 16:59:02 +09:00
bd_
c9c9701e1d chore: unexpose animation context for now
This API is still a bit unstable; it'll probably be added in a future release.
2023-09-24 14:37:10 +09:00
bd_
b55fa356db Merge remote-tracking branch 'origin/main' into 000/plugin 2023-09-17 22:01:26 +09:00
bd_
90806cb300 Move animation utility APIs back to Modular Avatar for now 2023-09-17 18:16:27 +09:00
bd_
685e690d3a
fix: workaround issues with double-Armature hack (#436)
fixes: #308
2023-09-15 21:00:08 +09:00
bd_
ebda9cf7d5
fix: fixup expressions menus to avoid validation errors (#434)
This change scales oversized expression menu items, and redacts undefined
parameters to avoid hard-to-diagnose build errors.
2023-09-14 21:24:20 +09:00
bd_
99386fc756 feat: NDMF integration 2023-09-04 23:18:23 +09:00
anatawa12
6591f35a78
fix: missing references when VPM resolver is not present
* chore: configure overrideReferences false and referenced dlls

* chore: clear unused using

* chore: remove unused meta file

* fix: missing reference
2023-08-22 18:44:02 +09:00
bd_
0335c31725
fix: issues with build failures when there are duplicate object paths (#398) 2023-08-20 14:15:10 +09:00
anatawa12
4ac4201af0
test: add test for icon of components (#389) 2023-08-13 17:15:25 +09:00
bd_
3044969454 fix: issues with menu generation (#371)
* chore: adding unit tests for #366 and #326

* fix: duplicate submenu controls not generated for multiple installers

When multiple installers referenced the same expressions menu asset,
only one submenu control would be generated.

* fix: submenus incorrectly deduping across different postprocessing contexts

Fixes: #366, #326

* fix: postprocess context not being inherited into submenus (#326)

This caused issues where parameter mappings were not being applied to
submenus.
2023-08-04 21:45:07 +09:00
bd_
333d4e8a95 chore: fix perf issues with new asset saving logic 2023-08-04 20:23:56 +09:00
bd_
0f2895c14e fix: serialization GC not recursing into scriptable objects 2023-07-31 21:05:35 +09:00
bd_
c10a2de7de chore: hopefully fixing CI issues 2023-07-30 02:32:57 +09:00
bd_
4240a4f4cf feat: add the Replace Object component 2023-07-30 02:32:57 +09:00
bd_
51b73fec72 feat: add support for unmangled names and nested merging in MergeArmature 2023-07-30 01:44:53 +09:00
bd_
3bed8b8527 fix: retain bones ending in "end"
Closes: #332
2023-06-19 20:11:18 +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
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
AoiKamishiro
7bc29b2ea5
MAProbeAnchorの追加(ModularAvatarでAnchorOverrideを設定できるように) (#304)
Co-authored-by: AoiKamishiro <aoi.kamishiro@kamishiro.online>
2023-06-05 18:53:49 +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
bd_
044e2ae704 fix: "fake humanoid" bones can be pruned by game object GC pass 2023-05-21 17:01:07 +09:00
bd_
6b5fc80167 fix: rename parameters hook interferes with menu installer references 2023-05-14 20:18:41 +09:00
bd_
d8cab10a3d feat: unified clothing menu 2023-05-14 20:18:41 +09:00
bd_
4295767be7 chore: fixing broken tests 2023-04-15 19:49:50 +09:00
bd_
a910fa5c05 Merge remote-tracking branch 'origin/main' into dev-merge 2023-04-15 18:16:07 +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
bd_
72f0154cb4
fix: direct blend parameters not being remapped (#246)
Closes: #245
2023-03-25 15:29:00 +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_
2f7e6ccd6f
fix: parameter drivers attached to state machines are not renamed properly (#226) 2023-02-25 17:53:15 +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_
8ac7217c26 fix: synced layer motion overrides not preserved over MA processing
Reported-By: ぷも
2023-01-27 21:15:38 +09:00
bd_
fb19fd6cc0 fix: simple asset-root toggles are not remapped correctly 2023-01-24 21:41:20 +09:00
bd_
51b828d318 chore: fix unit tests leaking assets 2023-01-21 10:56:10 +09:00
bd_
55827868f9 fix: keep position/keep rotation modes not applied in editor 2023-01-19 21:42:11 +09:00
bd_
33895a58e8 fix: BoneProxy non-humanoid references did not save properly 2023-01-18 19:09:28 +09:00
bd_
eb7af61a08 [BoneProxy] feat: add support for keeping only one of world position/rotation 2023-01-17 20:40:42 +09:00
bd_
305377c1bb feat: use english localization for untranslated strings 2023-01-17 20:06:50 +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_
b30504c348 chore: enable code coverage 2023-01-16 21:15:30 +09:00
bd_
c3e0f94448 chore: Add TransformMappingThroughSwitchedObject test 2023-01-16 21:15:30 +09:00
bd_
f64f00e2d3 chore: Add AnimateAddedBones test 2023-01-16 21:15: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