Commit Graph

295 Commits

Author SHA1 Message Date
bd_
ea2e1f026d
New Crowdin updates (#759)
* New translations en-us.json (Japanese)

* New translations en-us.json (Korean)

* New translations en-us.json (Chinese Simplified)

* New translations en-us.json (Chinese Traditional)
2024-03-09 19:19:08 +09:00
bd_
df05929cc2 Merge remote-tracking branch 'origin/main' into tct 2024-03-09 18:58:52 +09:00
bd_
12de13a947
chore: fix localization capitalization (#758) 2024-03-09 18:57:38 +09:00
bd_
0ff1da0734
fix: type corrections not applied to substatemachine exit transitions (#751)
Closes: #748
2024-03-09 18:55:31 +09:00
bd_
e31a33b82c
chore: configure crowdin (#756) 2024-03-09 18:51:14 +09:00
Reina_Sakiria
01d24f6809
fix: no purge MoveIndependently (#749) 2024-03-09 17:57:15 +09:00
bd_
95a686609d
fix: Visible Head Accessory breaks transform animations (#747)
Closes: #743
2024-03-08 17:59:30 +09:00
bd_
d85bbb257c
fix: nullref from Setup Outfit on non-humanoid rigs (#746)
Closes: #742
2024-03-08 17:59:21 +09:00
夜嵐蝶Alma
eabf6422ec
Update zh-hant.json.meta
delet timecreated
2024-03-07 11:55:06 +08:00
夜嵐蝶Alma
9905da339e
Update zh-hant.json.meta
Add timecreated
2024-03-07 11:31:08 +08:00
夜嵐蝶Alma
76de98e07e
add zh-hant.json.meta 2024-03-07 10:54:35 +08:00
夜嵐蝶Alma
fa7eaf916f
Update zh-hant.json 2024-03-07 10:37:36 +08:00
夜嵐蝶Alma
9bd54a6a78
Merge branch 'bdunderscore:main' into main 2024-03-07 09:18:55 +08:00
bd_
6cc687d1fd
fix: broken humanoid rigs can break assumptions made in EasySetupOutfit (#737)
Closes: #735
2024-03-06 17:51:43 +09:00
bd_
c67d28ca1b
fix: scale adjuster isn't applied to disabled renderers (#736) 2024-03-06 17:22:47 +09:00
夜嵐蝶Alma
4c28600cce
Update zh-hant.json 2024-03-06 09:33:24 +08:00
夜嵐蝶Alma
6d48b069c2
Update zh-hant.json 2024-03-05 18:43:51 +08:00
夜嵐蝶Alma
57d482aa50
Merge branch 'bdunderscore:main' into main 2024-03-05 18:42:27 +08:00
kaikoga
d15bbe86a2
chore: Skip ApplyAnimatorDefaultValuesPass when not VRChat avatar (#731) 2024-03-05 17:20:43 +09:00
bd_
f077d24d48
fix: improved Scale Adjuster implementation (#730)
This new implementation avoids creating any internal objects within the avatar
itself, instead creating them as hidden scene root objects. We also move all update
processing to be driven by camera callbacks as well. These changes help improve
compatibility with tools such as FaceEmo, as well as being less likely to break when
other tools manipulate the avatar's hierarchy directly.
2024-03-05 17:19:54 +09:00
夜嵐蝶Alma
f258c24258
Update zh-hant.json 2024-03-05 13:00:05 +08:00
夜嵐蝶Alma
3251dd6cf2
Merge branch 'bdunderscore:main' into main 2024-03-04 20:00:29 +08:00
bd_
7b21517bac
fix: bones whose name exactly matches prefix+suffix incorrectly match their parent (?) (#724)
Closes: #712
2024-03-03 19:19:53 +09:00
bd_
f7b12d7f82
fix: ScaleAdjuster breaks scene view selection (#718)
... fixed by reimplementing ScaleAdjuster (again!)
2024-03-03 17:26:23 +09:00
bd_
a9141a6cfe
fix: incorrect/unclear errors from Setup Outfit (#723)
Closes: #721
2024-03-03 17:26:14 +09:00
bd_
962a75f227
fix: parameter order is shuffled (#722)
Closes: #713
2024-03-03 17:16:28 +09:00
夜嵐蝶Alma
b0686f5e46
Update zh-hant.json
錯字
2024-03-02 22:09:26 +08:00
夜嵐蝶Alma
d60a03a376
Update zh-hant.json
https://discord.com/channels/1204260193417035816/1213405391925288970
https://discord.com/channels/1204260193417035816/1213401696538075156
2024-03-02 22:06:46 +08:00
夜嵐蝶Alma
15dfc5ad9f
update zh-hant.json 2024-02-29 00:35:03 +08:00
夜嵐蝶Alma
598dc110f8
Update Localization for zh-hant.cs 2024-02-29 00:33:06 +08:00
bd_
6c4c0afb06
fix: change attachment mode causes non-undoable transform movement (#710)
Closes: #655
2024-02-27 19:27:24 +09:00
bd_
97fe8075a6
feat: add support for VRoid Hub armatures in Setup Outfit (#709) 2024-02-27 19:02:04 +09:00
bd_
e7b09fd787
fix: ScaleAdjuster breaks in play mode (#705) 2024-02-27 17:03:36 +09:00
bd_
e06e83daba
fix: issues with Scale Adjuster on 2019 (#703)
Harmony patches were not being loaded for VRCSDK 3.4.x, causing some issues with component enabled state checkboxes being incorrect.

Additionally, we need to reset component states before assembly reload and scene save.
2024-02-26 18:56:43 +09:00
bd_
8c435874ac
fix: untranslated warning generated when multiple parameters remap to the same name (#698)
* fix: untranslated warning generated when multiple parameters remap to the same name

Fixed by allowing this case and applying normal parameter type resolution rules.

Closes: #694

* chore: enable accidentally disabled unit test
2024-02-26 18:20:35 +09:00
bd_
2f67b9509b
fix: handle AnimatorOverrideController in Merge Animator (#697)
Closes: #692
2024-02-26 18:03:28 +09:00
bd_
e7a317b896
fix: MergeDirectBlendTree overwrites animator default parameters with zeroes (#689) 2024-02-22 18:30:24 +09:00
bd_
4e61000e57 chore: add missing localizations 2024-02-21 20:44:05 +09:00
bd_
f99930999e
fix: compatibility break with animator defaults (#686)
Changes in 1.9.0 broke existing avatars that used animators with
different default values than the MA Parameters fields. This change
makes overriding the animator defaults require an explicit configuration;
this is technically a change which would require a minor version bump,
but as this is addressing a major-version-level compatibility break in 1.9.0,
we're going to push this out at a minor version this time.
2024-02-21 20:40:31 +09:00
bd_
d26ac60be5
fix: build fails when entries in the bones array are null (#682)
* fix: build fails when entries in the bones array are null

* chore: skip bone remapping when no Scale Adjusters are in use
2024-02-19 17:27:36 +09:00
bd_
d57e211d0b
fix: minor issues with scale adjuster (#679)
* fix: undo operations can cause scale adjuster to perma-disable meshes

* fix: tool is left hidden after scale adjuster is deleted
2024-02-18 21:47:48 +09:00
bd_
197d847514
fix/reimplement: scale adjuster results in infinite loops sometimes (#677)
Closes: #676
2024-02-18 20:21:26 +09:00
bd_
648c9a9608
feat: improvements to armature tracking (#665)
* opti(armature-lock): parallelize burst jobs for armature lock processing

* feat: continue armature tracking when the MAMA GameObject is disabled

Closes: #500

* feat: add global toggle for armature locking

Closes: #484
2024-02-17 19:20:08 +09:00
bd_
27f0557367
fix: float conversion breaks sub-state-machine entry transitions, including FaceEmo (#674)
* fix: float conversion breaks substatemachine entry transitions

Closes: #669

* fix: unnecessary type conversions
2024-02-17 19:19:35 +09:00
bd_
54d4e974db
feat: convert animator parameters to float when types are inconsistent (#662) 2024-02-12 19:35:11 +09:00
bd_
cc6ecd4f90
Update parameters docs and Saved field handling (#661)
* docs: new parameters UI documentation

Closes: #635

* feat(params), changelog-callout: adjust handling of Saved flag with parameters

* chore: fix docs links
2024-02-12 19:24:35 +09:00
bd_
e8f7144b6c
fix: Rename Parameters should not impact sub-animator components (#659)
Sub-animators have an independent parameter namespace from the main avatar, so we shouldn't
rename them.
2024-02-12 14:59:50 +09:00
bd_
2cf5967a42
feat: allow animator-only defaults to be set using MA Parameters (#648)
* feat: allow animator-only defaults to be set using MA Parameters

* chore: add unit tests for new default parameter behavior
2024-02-12 14:59:39 +09:00
kaikoga
5359e3b006
chore: Fix non-VRChat support (#650)
* add referenced assembly

* remove unused usings

* MA Merge Blend Tree is VRC specific

because it expects VRC style Animator Layer setup

* PruneParametersPass is VRChat specific

* fix: use FindAvatarTransformInParents() to be more cross platform

* fix MergeArmatureHook: nop logic for PhysBones if we do not dedup PhysBones

* fix AnimatorCombiner: ignore VRC components when non-VRC

btw, is AnimatorCombiner VRC specific?

* conditional compile some VRChat specific tests
2024-02-12 14:59:23 +09:00
bd_
0030012e17
fix: duplicate registrations for bone names break HBM (#651) 2024-02-05 21:52:34 +09:00
bd_
3d2052d8ff
fix: missing translations on "automatic" rename-to field (#649)
Closes: #638
2024-02-04 20:44:37 +09:00
dag-ed
6dcea7fa5e
add missing sdk parameters (#647) 2024-02-03 22:42:12 +09:00
bd_
94170179ea
fix: world fixed object breaks android builds (#629)
Closes: #581
2024-01-28 20:13:33 +09:00
bd_
1fc9c2d4ac
feat(params): Allow for MA Parameters to _not_ specify a default value (#636)
* feat(params): track whether a default value was explicitly set

* feat(params): improve default value resolution and error handling
2024-01-28 14:27:43 +09:00
bd_
86fc302fa5
ui(parameters): Rebuild MAParameters UI for Unity 2022 (#634) 2024-01-27 20:06:22 +09:00
bd_
07d61b25b2
fix: language list not populated until a MA editor is shown (#624) 2024-01-14 16:57:48 +09:00
bd_
a6151de5be
fix: incorrect placeholder in jp translation (#622)
Closes: #618
2024-01-14 16:57:32 +09:00
bd_
d0b4dd67e5
fix: issues with blendtree handling in AnimationDatabase (#615)
Closes: #609
2024-01-07 17:07:50 +09:00
bd_
66d3eee78d
feat: detect blendtree parameters in MA Parameters UI (#614) 2024-01-07 15:56:47 +09:00
bd_
6689c15ce9
fix: improve null checks in CloneControl (#597)
Fixes: #499
2023-12-28 17:58:47 +09:00
bd_
2ad324380e
fix: ScaleAdjuster not usable when gizmos are not enabled (#595)
Fixes: #588, #589
2023-12-28 16:25:23 +09:00
bd_
610ce40270
fix: remove duplicate animator merger and add parameter type mismatch error asset references (#585)
Closes: #549
2023-12-27 20:30:04 +09:00
bd_
2650566f9a
feat: add a component to perform nonuniform scale adjustments (#583) 2023-12-27 20:29:51 +09:00
bd_
4d3f49306e
fix: enable wordwrap for ESO error dialog (#584)
Closes: #576
2023-12-27 20:01:01 +09:00
bd_
a9a0fd648e
feat: prune empty layers (#579)
Closes: #554
2023-12-27 18:54:59 +09:00
bd_
9e4c876305
opti: prune garbage sample expression parameters found in VRChat's template asset (#578) 2023-12-26 16:10:45 +09:00
konsti219
e6ffd04110
fix: Replace Object dropping children (bdunderscore#547) (#575) 2023-12-25 20:53:39 +09:00
bd_
aa698565ab
feat: add merge blend tree component (#572)
* chore: refactor state machine clone logic out as a separate class

* feat: add layer priority and relative path root options to Merge Animator

* feat: add Merge Blend Tree component

* chore: adjust NDMF dependency

* docs: update merge-animator docs

* docs: merge blend tree docs
2023-12-22 17:17:40 +09:00
rurre
63043cb4ec
feat: Added BlendTree to right click create asset menu. (#555)
* Added BlendTree to right click create asset menu.

Not sure where to put it, so into the root editor folder it goes.

* Update CreateBlendTree.cs

* chore: add missing .meta file

---------

Co-authored-by: bd_ <bd_@nadena.dev>
2023-12-22 16:16:09 +09:00
bd_
d297cf1cad
feat(error): Integrate with NDMF error reporting and localization system (#570)
* chore(i18n): initial integration with NDMF localization system

* feat(error): integrate with NDMF error reporting framework

Note that as part of this, the pre-build validation system has been disabled for now.
It didn't work very well with other NDMF plugins in the first place, so it's probably
for the best...

* chore: fix u2019 build errors
2023-12-21 17:38:46 +09:00
anatawa12
7c35aa014e
fix: do not merge PhysBone chain if the chain is partially different (#548)
* fix: do not merge PhysBone chain if the chain is partially different

* fix: condition is not correct

* test: add test partially same physbone chain
2023-12-12 20:23:23 +09:00
anatawa12
0e243aa4c6
fix: Erros in Unity 2022 due to GetBoneTransform (#550) 2023-12-12 19:49:32 +09:00
bd_
409501cb39
fix: visible head accessory editor breaks on prefabs (#543)
Closes: #534
2023-11-26 20:52:36 +09:00
bd_
1dacdc4b37
fix: name collisions with Bone Proxies break animation mappings (#542)
Closes: #540
2023-11-26 20:48:16 +09:00
Gizmo
55101797be
chore(i18n): update translations (zh-hans) (#537) 2023-11-26 20:13:11 +09:00
bd_
b48555e2e0
fix: error report not displayed upon failure (#532) 2023-11-15 21:07:48 +09:00
bd_
e81ce64881
fix: null reference in Merge Armature after physbones are merged (#533) 2023-11-14 22:17:47 +09:00
bd_
07eedb370d
fix: Merge Armature inspector breaks animator editor styles (#531)
Also fix another style leak in ESO
2023-11-14 22:10:29 +09:00
bd_
1410503609
fix: select menu creates menu install targets in random order (#530)
Fixes: #508
2023-11-14 20:42:01 +09:00
bd_
e7a7cba16d
chore: don't use GUIDs to reference asmdefs (#529) 2023-11-12 20:10:04 +09:00
bd_
ed84e22910
fix: name collision issues with World Fixed Object (#525)
Closes: #519
2023-11-11 20:29:46 +09:00
kaikoga
3667dc319a
chore: Wrap VRC dependencies and VRCAvatarDescriptors (#504)
* add version defines

* refactor: prefer BuildContext.ctor() overload taking GameObject

* wrap unit tests entirely with MA_VRCSDK3_AVATARS

* wrap unit tests smart with MA_VRCSDK3_AVATARS

* wrap runtime entirely with MA_VRCSDK3_AVATARS

* wrap VRC.SDKBase.IEditorOnly with MA_VRCSDK3_AVATARS

* wrap editor entirely with MA_VRCSDK3_AVATARS

* fix AvatarObjectReference.Get(Component)

* wrap editor smart with MA_VRCSDK3_AVATARS

* wrap BuildContext smart with MA_VRCSDK3_AVATARS

* wrap PluginDefinition smart with MA_VRCSDK3_AVATARS

* style: move conditional compiles one step outside
2023-11-10 15:37:56 +09:00
bd_
a98b8fb457
feat: add UI for setting outfit position to match base avatar (#521) 2023-11-09 22:06:18 +09:00
bd_
c86804db1f
fix: ESO selects the last hips candidate, when it should pick the first (#520)
Fixes: #509
2023-11-09 17:25:13 +09:00
dag-ed
c17df16652
fix missing physbone parameter suffixes (#517) 2023-11-09 15:34:33 +09:00
kaikoga
5f3e1dcf86
Refactor: Delete unused code for MAAssetBundle generation (#515)
* refactor: delete unused code for MAAssetBundle generation

* fix unit tests
2023-11-09 14:46:57 +09:00
bd_
0174b71bcc
fix(unity2022): inspector is broken on 2022 (#518) 2023-11-09 14:46:32 +09:00
bd_
0bab5d1dce chore: fix issues with Visible Head Accessory patch 2023-11-01 19:11:42 +09:00
Reina_Sakiria
b4a64f2a4e
fix: Visible Head Accessory incorrectly applied when building for Quest standalone (#514) 2023-11-01 19:07:04 +09:00
nekobako
a5bc6c50ac
衣装側で PhysBone の影響下にあるボーンは、アバター側に同名のボーンがあっても統合しない (#465)
* chore: preserve outfit side PhysBone even if the bone names match

* chore: remove PhysBone pruning as it is no longer needed

* chore: show error if outfit PhysBones affect to humanoid bones

* test: replace DuplicatePBStripping test to PreserveOutfitPB test

* test: remove unnecessary PhysBone from TransformMappingHandledCorrectly test

* Revert "test: replace DuplicatePBStripping test to PreserveOutfitPB test"

This reverts commit 8fe8f15866.

* Revert "chore: show error if outfit PhysBones affect to humanoid bones"

This reverts commit 4f3761ebf2.

* Revert "chore: remove PhysBone pruning as it is no longer needed"

This reverts commit b0c339e9d0.

* chore: restore duplicate PhysBone pruning

* test: add test for non duplicated bones

* chore: preserve outfit side PhysBone more than 1mm away from the avatar side bone

* test: remove PhysBone stripping tests that consider PhysBone properties

* test: add PhysBone stripping tests that consider bones distance

* fix: merge outfit side PhysBone that is just 1mm away from the avatar side bone

---------

Co-authored-by: bd_ <bd_@nadena.dev>
2023-11-01 19:06:34 +09:00
kaikoga
ae7103cf82
chore: use ndmf Avatar Root api where applicable (#482)
* expose ndmf AvatarRoot APIs through ma.RuntimeUtil

* refactor: prefer RuntimeUtil helpers for checking avatar root

* refactor: ndmf.BuildContext represents Avatar (log)

* refactor: ndmf.BuildContext represents Avatar (WorldFixed)

* refactor: ndmf.BuildContext represents Avatar (FirstPersonVisible)

* refactor: ndmf.BuildContext represents Avatar (BlendShapeSync)

* refactor: prefer FindAvatarTransformInParents() (ErrorReportUI)

* refactor: prefer FindAvatarTransformInParents() (Runtime)

* refactor: prefer FindAvatarTransformInParents() (Editor)

* delegate more ndmf AvatarRoot APIs through ma.RuntimeUtil
2023-10-15 18:44:53 +09:00
bd_
8116b96b9e
chore: remove dead code (#494) 2023-10-11 20:13:56 +09:00
bd_
68bc7ece54
fix: error report window not displayed on build failure (#488) 2023-10-09 18:43:26 +09:00
kaikoga
f538bf842f
chore: fix SceneManagement editor using declaration on unity 2021 (#483) 2023-10-09 15:55:27 +09:00
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