Commit Graph

94 Commits

Author SHA1 Message Date
bd_
e0f9e95df3 fix: issues with MAMoveIndependentlyManager error handling
Closes: #1386
2024-12-08 18:24:21 -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
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
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_
32ea6678f7
feat: object references are now corrected when their target path is renamed/changes (#1323) 2024-10-27 10:07:23 -07:00
bd_
1153abd16e
fix: NRE when Move Independently is placed on a scene root (#1321)
Closes: #1317
2024-10-27 10:07:14 -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
bd_
6c55185895 docs: fix reactive component help URL link 2024-10-01 20:19:14 -07:00
nekobako
2c9939dea8 chore: remove ShapeChanger migration for beta only 2024-10-01 20:15:24 -07:00
Haï~
b01b280f79 feat: menu name may use string field 2024-10-01 09:52:39 +02:00
bd_
ee64cafe02
fix: remove ObjectIdentityComparer (#1211)
Apparently, it's safe to use Unity objects as keys in HashMaps, and doing
so actually fixes some edge cases where assets are recreated as a new C# object.
2024-09-25 21:39:01 -07:00
Sayamame-beans
8e49df703f
fix: BoneProxy target couldn't be empty after assigned (#1192) 2024-09-23 19:14:26 -07:00
bd_
9073ff8c2d
fix: blendshape sync reserializes prefab assets (#1153)
Hopefully fixes: #1148
2024-09-15 19:33:10 -07:00
nekobako
48b7d80f7c
Fix menu item float value (#1140)
* fix: menu item with float value incorrectly generates bool parameter

* fix: reactive components generate transitions with overlapping condition ranges

* chore: add tests for menu item parameter type

* fix: incorrect parameter type detemination for float values

* chore: add more tests for menu item parameter type

* refactor: unify logic to determine parameter type and rename confusing variable
2024-09-15 19:32:59 -07:00
nekobako
c0582a9961
fix: non-backwards-compatible changes to component initial values (#1114)
* fix: init menu item settings only when added manually from inspector

* fix: init menu item settings when added from some shortcuts

* fix: init menu item settings when reset from context menu

* fix: init merge animator settings only when added manually from inspector
2024-09-13 18:57:03 -07:00
bd_
389ae4f2cc
fix: performance issues when RO Simulator is open for too long (#1101)
Also fix an issue where the clear overrides button doesn't work for menu item overrides.

Closes: #1100
2024-09-04 12:40:48 -07:00
bd_
0ee291076f
feat: Menu Item automatic values (#1098) 2024-09-03 19:07:33 -07:00
bd_
22cff4ba3f
chore: set delete attached animator to true by default on MAMergeAnimator (#1092) 2024-09-03 15:26:52 -07:00
bd_
0a6270bb43
feat: update AvatarObjectReference paths when target object is moved in scene (#1074)
Closes: #1037
2024-09-01 17:29:58 -07:00
bd_
802fea09d9
feat: serialize Move Independently grouping (#1067)
Closed: #842
2024-08-30 19:19:46 -07:00
bd_
369cc010c3
fix: some issues with reactive objects not triggering pipeline refreshes (#1057)
Closes: #1054
2024-08-28 19:20:17 -07:00
bd_
87a385a43e
feat: add a debugging UI for the reactive components system (#1049) 2024-08-25 20:19:04 -07:00
nekobako
8418f8e047
feat: change shape changer to support multiple target renderers (#1011)
* feat: add target renderer to ChangedShape

* chore: add test for ShapeChanger target renderer

* feat: add override target to MaterialSetter

* fix: resolve added AvatarObjectReference

* fix: record prefab instance property modifications

* refactor: remove unused setter for AvatarObjectReference

* refactor: change ChangedShape and MaterialSwitchObject from struct to class

* feat: remove override target from ShapeChanger and MaterialSetter

* refactor: align flow and code style of ShapeChanger and MaterialSetter

* feat: ShapeChanger target migration

* fix: add null check

* chore: added some comments and nullchecks

---------

Co-authored-by: bd_ <bd_@nadena.dev>
2024-08-21 20:27:10 -07:00
bd_
3b9f0d1838
fix: incorrect parent bone reference in OnewayArmatureLockOperator (#1031)
Closes: #1024
2024-08-21 20:26:05 -07:00
bd_
eb5a04511d
fix: implement ResolveReferences for reactive objects (#1019)
Closes: #996
2024-08-18 19:03:18 -07:00
bd_
e5af635bd9
fix: memory corruption issue in NativeMemoryManager (#1013) 2024-08-17 18:44:12 -07:00
bd_
7384715059
feat: MA Convert Constraints (#1010) 2024-08-16 18:52:04 -07:00
bd_
d83c3351d7
fix: MA Move Independently is not listed in the MA group in Add Components (#1007)
Closes: #1002
2024-08-13 20:33:08 -07:00
bd_
1b3b9194c0
fix: use-after-free issue in NativeMemoryManager (#1006)
Closes: #1001
2024-08-13 20:32:52 -07:00
anatawa12
f4ab86fedc
feat: SetOrInherit mode in MA Mesh Settings for EasySetupOutfit (#981)
* feat: SetOrInherit for MA Mesh Settings

* chore: use SetOrInherit in EasySetupOutfit

* test: fix test data

* Delete Editor/CheckBoneMapping.cs
2024-08-12 18:45:51 -07:00
bd_
ed4f5dfd31
fix: a bunch of bugs related to invalid jobs in ArmatureAwase (#985)
Closes: #839, #856
2024-08-11 18:39:50 -07:00
bd_
a739598d13 chore: set icon for shape changer component 2024-08-10 20:05:26 -07:00
bd_
6b99b763a7
ui adjustments; added toggle creation shortcuts (#975)
* ui: adjustments to reactive object UI

* ui: toggle creation shortcuts
2024-08-10 19:16:57 -07:00
bd_
d998763fbe
feat: add material switcher and inverse mode (#974)
* feat: add material switcher

Also refactor everything...

* refactor: simplify object curve handling

* refactor: additional refactoring and bugfixes

* feat: inverse mode

* feat: add material setter inspector UI

* chore: set material setter icon

* chore: fix error on build

* chore: adjust order of inverted element
2024-08-10 18:03:50 -07:00
bd_
8e7526e711
Connect reactive components to MenuItems (#944)
* refactor: generalize support for arbitrary parameters as conditions

* feat: automatically assign Menu Item parameters

* feat: ReactiveComponents respond to MenuItems

* feat: AvatarObjectReference tracks both paths and direct object references

* feat: set isSaved/isSynced/default values from MenuItem

* feat: Object Toggle preview supports menu items and manipulating parent objects

* feat: reactive previews respond to menu item default value states

* chore: update NDMF dependency
2024-08-04 19:31:43 -07:00
bd_
32dc864d8d
feat: add Object Toggle component (#942)
* feat: add Object Toggle component

* docs: Object Toggle docs

* chore: add missing HelpURL

* chore: fix broken test
2024-08-03 19:56:07 -07:00
bd_
746a72f60b
fix: unused/hidden subparameters are retained and break builds (#914) 2024-07-06 21:34:15 -07:00
bd_
806d31fd82
refactor: remove reactive query (#911) 2024-07-02 12:38:27 +09:00
bd_
8d3da50b37
feat: MA Shape Changer (#863)
* chore: migrate Scale Adjuster to NDMF preview system

* feat: MA Shape Changer

* chore: update NDMF dependency

* fix: unit test failure
2024-06-03 09:52:08 +09:00
bd_
c9db3debcf
chore: fix compile warnings (#853) 2024-05-13 07:47:14 +09:00
bd_
bc12e3a985
change: MA Info is now a normal editor window (#850) 2024-05-13 05:19:55 +09:00
bd_
61a70feed7
fix: remove spammy "Invalidated job!" message (#847) 2024-05-07 12:10:34 +09:00
bd_
926ea255cb
feat: add menu option to disable "modular avatar information" display (#833)
* feat: add menu option to disable "modular avatar information" display

Closes: #815
2024-04-22 09:00:37 +09:00
bd_
b25359a14a
fix: Scale Adjusters outside an avatar throw exceptions (#822)
* fix: Scale Adjusters outside an avatar throw exceptions

* fix: improve scale adjuster performance
2024-04-15 11:47:39 +09:00
bd_
6da55dc08c
fix: NRE in ProxyManager.MapBone (#801) 2024-03-26 14:20:39 +00:00
bd_
0024be06e0
fix: FreeSegment "segment not found" errors (#800)
Zero-length allocations could result in multiple entries with the same offset in the segment map. This would then break subsequent lookups.

Fixed by increasing these allocations to a minimum length of one.
2024-03-25 10:09:43 +00:00