Commit Graph

22 Commits

Author SHA1 Message Date
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
bd_
81ad82b765
fix: ParameterAssignerPass forces all parameters to float type (#1337)
Closes: #1335
2024-11-03 18:32:29 -08: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
bd_
a5e716cb3e
fix: incorrect auto parameter assignment when a non-auto item is set to 0 (#1189) 2024-09-22 18:12:26 -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
c80d24ea46
Fix parameter synced conflict (#1150)
* fix: parameter should be synced if any of sibling parameter is set to be synced

* fix: parameter should be saved/synced if any of menu item references same parameter is set to be saved/synced
2024-09-15 14:24:13 -07:00
nekobako
b83b89ce38
fix: incorrect default value for single menu item with automatic value (#1147) 2024-09-15 14:23:15 -07:00
bd_
fed6a22d72
fix: multiple issues with auto parameter value assignment (#1136)
Closes: #1110
2024-09-13 19:27:01 -07:00
nekobako
29177f2c5a
fix: NullReferenceException when opening RO Simulator for default Menu Item (#1107) 2024-09-13 17:55:49 -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_
acd6c50543
fix: menu item override is not shown in sim for autoprop boolean toggles (#1104) 2024-09-04 17:00:08 -07:00
bd_
0ee291076f
feat: Menu Item automatic values (#1098) 2024-09-03 19:07:33 -07:00
bd_
ece8a6837a
fix: RO Simulator triggers all parameters (#1076) 2024-09-01 18:59:56 -07:00
kaikoga
2148ab0bfc
chore: Skip ParameterAssignerPass when not VRChat avatar (#1071) 2024-08-31 16:51:26 -07:00
bd_
87a385a43e
feat: add a debugging UI for the reactive components system (#1049) 2024-08-25 20:19:04 -07:00
bd_
037c450760
fix: multiple issues in autocreate parameter heuristics (#1032)
- Don't create parameters for submenus and puppets automatically
- Create parameters when the menu item and RC are on the same GameObject
2024-08-21 21:16:40 -07:00
bd_
cd366cab2d
additional minor fixes (#976)
* fix: shape changer preview does not respect inverted mode

* fix: incorrect parameter generation for non-direct-child MAMIs
2024-08-10 19:27:06 -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_
ead026a918
fix: only create autoparams when a reactive component is present (#969)
Closes: #968
2024-08-08 21:51:47 -07:00
bd_
053a0d464b
fix: multiple bugs discovered during dogfooding (#964)
* fix: initial state does not set proxy variables for toggled objects

* fix: incorrect constant analysis in property overlay pass

* fix: reactive objects respond to parent submenu active state inappropriately

* fix: property overlay pass does not register itself in animation database

* fix: object toggle default state is not applied properly
2024-08-07 20:59:13 -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