Commit Graph

344 Commits

Author SHA1 Message Date
bd_
7967fcf121 fix: NullReferenceException in some cases when viewing MA Menu Item controls
Closes: #1383
2024-12-06 17:26:14 -08:00
bd_
6dcd63dde7
Merge branch 'main' into menu-richtext 2024-12-01 15:41:30 -08:00
bd_
d91c69835c feat: add API to open Menu Installer's selection UI
Closes: #1327
2024-12-01 15:40:57 -08:00
bd_
76eca08c22 feat: Sync Parameter Sequence 2024-12-01 15:36:53 -08:00
bd_
2c3e24333a
feat: Remove Vertex Color (#1378) 2024-12-01 13:54:43 -08:00
Rinna Koharu
f35283db51
fix: changed not to use Instantiate when creating inverse root bone (#1376)
Co-authored-by: Rerigferl <70315656+AshleyScarlet@users.noreply.github.com>
2024-12-01 07:10:48 -08:00
bd_
f3bf07b601
perf: switch to AssetSaver API (#1372) 2024-11-28 16:59:01 -08:00
bd_
80d17f8284
fix: heuristic matching for "びしょ濡れのしずくちゃん" (#1370) 2024-11-25 19:09:12 -08:00
bd_
a7ef0d6635
fix: multiple issues with MAMoveIndependently (#1369)
* fix: multiple issues with MAMoveIndependently

Fixed issues with nested Move Independently components (Closes #1367).

Fixed MAMoveIndependently not being saved (Supercedes #1366)

Reduce jittering when moving MAMI bones.

* chore: fix some namespaces

* chore: fix non-editor buil
2024-11-24 18:24:38 -08:00
Reina_Sakiria
0606311f51
fix: MA MeshSettings forget to keep the inverse root bone. (#1356)
* fix: Forget to keep the inverse root bone.

* fix: inverted root bone position is offset from original

---------

Co-authored-by: bd_ <bd_@nadena.dev>
2024-11-24 18:02:10 -08:00
Reina_Sakiria
fd59c3e910
fix: MA MergeArmature forget to retaining the root bone. (#1355)
* fix: forget to retaining the root bone

* chore: fix test

---------

Co-authored-by: bd_ <bd_@nadena.dev>
2024-11-24 16:41:20 -08:00
bd_
46f5296528
Revert "Use VRCParentConstraint instead of constraint hack for world fixed objects when available (#1326)" (#1363)
This reverts commit a984cf8673. The prior
behavior was to lock world fixed objects at their offset from the
origin; however with this change we ended up locking them at a location
relative to the avatar spawn location, breaking some gimmicks.

I tried experimenting a bit with VRCConstraint to try to replicate this
behavior, but it seems a bit non-trivial, so we'll revert this as a
hotfix for now.
2024-11-19 19:04:33 -08:00
bd_
e68e176aa4
feat: allow multi-edit of "Is Default" when parameter names are empty (#1350) 2024-11-16 19:20:36 -08:00
bd_
d23b9f94a2
fix: empty MA Parameters names break auto param UI (#1346) 2024-11-16 19:02:37 -08:00
bd_
30512c26e8
fix: NotSynced parameters become synced when merging (#1347)
Closes: #1342
2024-11-16 19:02:32 -08:00
bd_
4405d7aa56
fix: MA Parameters bool items + MA Menu Item auto value is broken (#1345)
Closes: #1331
2024-11-16 19:02:24 -08:00
Jeremy Lam aka. Vistanz
a984cf8673
Use VRCParentConstraint instead of constraint hack for world fixed objects when available (#1326)
* Fixes error when merging same parameter with different type in RC menu item.

* Rollback ReactiveObjectPass, use another approach

* Set defaults to ModularAvatarMergeAnimator to prevent potential errors

* Use VRCParentConstraint instead of constraint hack
for world fixed objects when available

* Make sure the VRC constraint only applies on VRChat avatars

* Extract creation logic to external method

* Rearrange method

* Get rid of unit test

* Fix unit test build error

* Fix assert fail
2024-11-16 19:02:09 -08:00
bd_
81ad82b765
fix: ParameterAssignerPass forces all parameters to float type (#1337)
Closes: #1335
2024-11-03 18:32:29 -08:00
bd_
973e7d2448
fix: suppress ObjectReferenceFixer in play mode (#1336)
Not sure if this will do anything, but maybe it'll help with the perf issues people have reported?
2024-11-03 18:32:22 -08:00
nadena-dev-ci
59ff119d20
New Crowdin updates (#1330)
* Update source file en-US.json

* New translations en-us.json (Japanese)
2024-11-03 18:32:15 -08:00
Ao_425
29e2041312
chore: Add mesh settings regardless of parent presence in Setup Outfit (#1322)
* chore: remove parent check for adding meshsettings

* chore: a little refactoring
2024-11-02 15:20:13 -07:00
bd_
a3b9acba39
ui: Improvements to MA Parameters editor (#1329)
* Add import-from-asset feature (Closes: #880, #668, #410)
* Limit size of scrollable area to avoid double-scrolling
* Add support for pressing the "delete" key to delete parameters.
2024-11-02 15:17:58 -07:00
Sayamame-beans
497d16f89d
Improve InferPrefixSuffix / Support using Humanoid Rig on Setup Outfit (#1167)
* feat: inferring prefix/suffix now supports infer with HeuristicBoneMapper

* feat: inferring prefix/suffix is now triggered when prefix/suffix is empty and merge target changed

* chore: add comment for inferring prefix/suffix with HeuristicBoneMapper

* feat: support using Humanoid Rig on RenameBonesByHeuristic

* feat: support using cloth's Humanoid Rig on merge_armature.adjust_names

* feat: support outfits' hips in one more deep place

* chore: refine condition on Heuristic Bone Mapper's exact humanoid bone matching

* chore: unify the process for get outfit's humanoid bones

* chore: rename variable name to clarify means

* chore: use InitializeOnLoadMethod instead of reflection to get boneNamePattern from Editor Assembly

* test: add some tests for SetupOutfit and InferPrefixSuffix
2024-11-02 15:17:24 -07:00
bd_
e752762d21
chore: remove stray log statement (#1325) 2024-11-02 13:23:33 -07:00
bd_
32ea6678f7
feat: object references are now corrected when their target path is renamed/changes (#1323) 2024-10-27 10:07:23 -07:00
kaikoga
efa263b551
chore: Fix non-VRChat support (for MA 1.10.5) (#1324)
* feat: add version defines for VRCSDK

* chore: early return if VRCSDK project but not VRChat avatar
2024-10-27 10:06:35 -07:00
Jeremy Lam aka. Vistanz
07b648dcc1
Fixes error when merging same parameter with different type in RC menu item (#1313) 2024-10-25 20:11:23 -07:00
Haï~
3b067e4664
Make compatible with Unity 6 projects (#1232)
* Disable compilation for use in Unity 6 (6000.0.20f1):
- Do not compile some classes and code paths in non-VRChat projects.
- This has been tested in Unity 6 (6000.0.20f1).

* Fix hide internal components in Unity 6:
- [AddComponentMenu("")] does not work in Unity 6.
- Replace it with [AddComponentMenu("/")]
- This alternative is confirmed to also work in Unity 2022.

---------

Co-authored-by: Haï~ <hai-vr@users.noreply.github.com>
Co-authored-by: bd_ <bd_@nadena.dev>
2024-10-19 18:58:41 -07:00
Sayamame-beans
26153ea60d
feat: improve behavior when called setup outfit for setuped outfit (#1200) 2024-10-19 17:52:51 -07:00
bd_
5bafb0ba9d
fix: "extract menu to objects" does not set the target of its menu group properly (#1304)
Closes: #1297
2024-10-19 17:46:39 -07:00
bd_
11a62c88d4
fix: issues when handling VRCExpressionMenus with an uninitialized type field (#1303) 2024-10-19 17:46:31 -07:00
bd_
123523540e
fix: parameters lose their default value when others are moved around (#1302)
Closes: #1296
2024-10-19 17:15:43 -07:00
bd_
ab4d1fd2f4
fix: transient NRE when opening reaction debugger (#1301) 2024-10-19 17:15:33 -07:00
bd_
9dc342e81e
fix: always-on toggles fail to animate objects to off (#1300)
Closes: #1285
2024-10-19 17:15:23 -07:00
bd_
ae975506d7
fix: occasionally objects controlling reactive components "flicker" (#1298)
Reported-by: @whipnice
2024-10-19 17:15:14 -07:00
bd_
b73feb6b71
fix: inactive menu items don't appear in RO debugger (#1291) 2024-10-15 19:13:08 -07:00
bd_
662172c2e5
fix: NRE in RO simulator (#1292) 2024-10-15 19:13:01 -07:00
bd_
5d399dce4a ci: workaround VPM issues 2024-10-14 21:17:31 -07:00
nadena-dev-ci
766f728a8a
New Crowdin updates (#1284)
* Update source file en-US.json

* Update source file en-US.json

* New translations en-us.json (Japanese)
2024-10-13 18:28:53 -07:00
bd_
f40d02ceb9
fix: NRE when AnimatorControllerLayer.stateMachine is null (#1283)
Closes: #1056
2024-10-12 17:29:27 -07:00
bd_
7ae98d63b0
fix: missing localization strings for Replace Object errors (#1282)
Closes: #1281
2024-10-12 17:29:19 -07:00
nekobako
0b8cd3b3b6
feat: add support for drag-and-drop on MaterialSetter and ShapeChanger (#1271)
* feat: add support for drag-and-drop on MaterialSetter and ShapeChanger

* fix: allow adding known objects to MaterialSetter and ShapeChanger
2024-10-12 16:52:37 -07:00
Sayamame-beans
4a376f8723
Merge Armatureの"Reset position to base avatar"にA/Tポーズ変換オプションを追加 (#1188)
* feat: A/T Pose conversion on "Reset position to base avatar"

* chore: reorder posReset options

* chore: unify FixAPose functions into SetupOutfit.FixAPose
2024-10-12 16:34:30 -07:00
bd_
828e6b4548
fix: propagate shape changer effects through BlendshapeSync (#1267)
Closes: #1259
2024-10-05 17:46:45 -07:00
bd_
656a401684
fix: proxy animations are cloned in Merge Animator (#1266)
This fixes issues with しゃがみ置き換え+α among other things.
2024-10-05 15:19:42 -07:00
bd_
30cafb21e4
fix: incorrect handling of shape key deletion (#1258)
This change reworks delete handling to be more consistent with other properties,
by treating it as a virtual property (`deletedShape.{blendshapeName}`) instead of
a weird additional field of blendshape keys. This then fixes a number of issues
(e.g. broken preview for delete keys).

Fixes: #1253
2024-10-03 20:16:53 -07:00
bd_
816d2b28cb
fix: NRE from scale adjuster preview (#1251) 2024-10-02 19:51:17 -07:00
bd_
4ec36ca489
fix: shape changer preview overrides default blendshape values inappropriately (#1250)
Closes: #1227
2024-10-02 19:48:38 -07:00
bd_
409592f952
fix(rc): constant-off objects are not handled correctly (#1249)
Closes: #1233
2024-10-02 19:42:19 -07:00
bd_
02204c272f
Revert "fix: remove unnecessory exit transitions for reactive components (#1161)" (#1248)
This reverts commit 9dfa0dae23. Those
transitions are needed when controlling the same object from multiple
parameters.

Closes: #1233
2024-10-02 19:03:44 -07:00