Commit Graph

28 Commits

Author SHA1 Message Date
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
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_
ab4d1fd2f4
fix: transient NRE when opening reaction debugger (#1301) 2024-10-19 17:15:33 -07:00
bd_
b73feb6b71
fix: inactive menu items don't appear in RO debugger (#1291) 2024-10-15 19:13:08 -07:00
bd_
5d399dce4a ci: workaround VPM issues 2024-10-14 21:17:31 -07:00
bd_
828e6b4548
fix: propagate shape changer effects through BlendshapeSync (#1267)
Closes: #1259
2024-10-05 17:46:45 -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_
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
nekobako
36e035c8c7
fix: inverted reactive components on inactive objects didn't set defa… (#1246)
* fix: inverted reactive components on inactive objects didn't set default states

* chore: use `InitiallyActive` helper

---------

Co-authored-by: bd_ <bd_@nadena.dev>
2024-10-02 19:03:03 -07:00
bd_
f3f2de3337 feat: add tracing points for the NDMF preview tracing system 2024-09-28 19:34:36 -07:00
bd_
b866628b24 chore: fix compiler warnings 2024-09-27 19:37:23 -07:00
bd_
a018df9219
chore: improve PropCache debuggability by adding a name property (#1209) 2024-09-25 20:01:59 -07:00
bd_
13b0ffe0b5
fix: missing observations in LocateReactions (#1210) 2024-09-25 20:01:55 -07:00
bd_
bf47a4c544
fix: reactive components break WD ON avatars (#1202)
Closes: #1199
2024-09-23 20:18:04 -07:00
nekobako
9dfa0dae23
fix: remove unnecessory exit transitions for reactive components (#1161) 2024-09-22 13:42:31 -07:00
nekobako
2735adf55c
fix: warning when object name contains "." (#1123)
* fix: warning when object name contains "."

* chore: change RC state and layer names to not reference Shape Changer specifically

---------

Co-authored-by: bd_ <bd_@nadena.dev>
2024-09-13 17:49:58 -07:00
bd_
4fa0621655
fix: menu items with no default fail to generate animator controller parameter entries (#1105) 2024-09-04 18:58:51 -07:00
bd_
0ee291076f
feat: Menu Item automatic values (#1098) 2024-09-03 19:07:33 -07:00
bd_
7330cda42a
fix: previews do not update when invert option is changed (#1078) 2024-09-01 19:59:08 -07:00
nekobako
580cb2bfe9
Fix material setter index (#1061)
* fix: error when Material Setter has an invalid index

* feat: warn by color when Material Setter has an invalid index
2024-08-30 18:04:58 -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
a2b9b817ce
fix: MaterialSetter is not working without ShapeChanger or ObjectToggle (#1043) 2024-08-25 18:04:14 -07:00
nekobako
f96b2627aa
fix: support renderers other than SMR (#1042) 2024-08-25 18:04: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_
3f02a1127f
fix: constant reactive objects are incorrectly animated to original scene state (#1017)
Closes: #1014
2024-08-18 18:47:33 -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