Commit Graph

69 Commits

Author SHA1 Message Date
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
bd_
88cf2e14b7
chore: additional debugging to try to track down FreeSegment issues (#781) 2024-03-16 15:57:11 +09:00
bd_
654aec1aab
feat: add UI to show parameter usage (#773) 2024-03-14 21:33:44 +09:00
bd_
3f50da35f2
fix: potential null ref exceptions from scale adjuster (#767) 2024-03-11 11:20:34 +09:00
bd_
a801f0ee76
fix: try to protect against segment double free a bit more (#766) 2024-03-11 10:32:57 +09:00
bd_
17e6c22335
fix: potential null reference exceptions from ProxyManager (#750)
* chore: fix incorrect namespace

* fix: potential null reference exceptions from ProxyManager
2024-03-09 18:08:38 +09:00
bd_
fcc3752bcc
fix: double free message from armature lock (#745)
Closes: #741
2024-03-08 17:59:13 +09:00
bd_
f7e574654f
fix: parent scale ignored in Scale Adjuster (#744)
Closes: #740
2024-03-08 17:59:04 +09:00
bd_
73c9d7bfff
chore: use forceRenderingOff for ProxyManager (#734)
Thanks to @TCL987 for the suggestion!
2024-03-06 17:16:48 +09:00
bd_
37b0f3c036
opti: fix perf regressions in new armature lock system (#729)
* opti: fix perf regressions in new armature lock system

... by avoiding reinitializing everything whenever any target bone moves.

* chore: fixing unity 2019 issues
2024-03-05 17:26:30 +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
bd_
e39a77855a
fix: don't enable scale proxy when no relevant bones are used in the mesh (#728) 2024-03-04 13:26:09 +09: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_
f6ac07e1cd
opti: perf improvements for armature lock (#714)
* opti: perf improvements for armature lock

* chore: unity 2019 compatibility

* chore: update comments
2024-03-03 17:34:48 +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_
97fe8075a6
feat: add support for VRoid Hub armatures in Setup Outfit (#709) 2024-02-27 19:02:04 +09:00
bd_
e0c8061a8d
fix: ScaleAdjuster causes console errors when a mesh is missing (#706)
* fix: ScaleAdjuster causes console errors when a mesh is missing

* chore: hide ScaleAdjusterRenderer component
2024-02-27 17:09:01 +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_
7a2385352c
fix: noisy memory leak warning on Unity 2019 (#700)
Closes: #696
2024-02-26 18:03:16 +09:00
bd_
1666f96d61
fix: logspam caused by ScaleProxy on unity 2019 (#699) 2024-02-26 15:30:42 +09:00
bd_
e7a317b896
fix: MergeDirectBlendTree overwrites animator default parameters with zeroes (#689) 2024-02-22 18:30:24 +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_
b9a5700a7a
chore: remove dead code (#683) 2024-02-20 19:13:08 +09:00
bd_
42ca90a6bc
fix: crash when undoing setup outfit (#680)
Closes: #571
2024-02-18 21:56:59 +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_
56a203c531 chore: remove stray .meta file 2024-02-18 20:21:52 +09:00