Commit Graph

29 Commits

Author SHA1 Message Date
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_
ae950ad938
fix: untranslated string in RO simulator UI (#1086) 2024-09-02 17:57:49 -07:00
bd_
7330cda42a
fix: previews do not update when invert option is changed (#1078) 2024-09-01 19:59:08 -07:00
bd_
ece8a6837a
fix: RO Simulator triggers all parameters (#1076) 2024-09-01 18:59:56 -07:00
bd_
c309d93bdd
fix: error during domain reload (#1077) 2024-09-01 18:59:44 -07:00
kaikoga
2148ab0bfc
chore: Skip ParameterAssignerPass when not VRChat avatar (#1071) 2024-08-31 16:51:26 -07:00
nekobako
6cb249be44
fix: error when deleting Material Setter target (#1066) 2024-08-30 18:05:07 -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
nekobako
f9abb5c4fc
fix: previewing Material Setter targets Renderers other than MeshRenderer and SkinnedMeshRenderer cause error (#1053) 2024-08-26 08:52:28 -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
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
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_
6f95800e41
chore: update for NDMF API changes (#1016) 2024-08-18 18:32:56 -07:00
bd_
7a20eaf57e
fix: some issues with Shape Changer previews not updating (#1012) 2024-08-17 17:32:13 -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_
6d89db6a8a
fix: object toggle preview doesn't work when disabling objects (#962) 2024-08-07 18:19:49 -07:00
bd_
9a974f5f09
fix: shape changer would not generate animations when controlled only by object toggle (#951) 2024-08-05 21:50:35 -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_
d999f799fb
fix: shapekey deletion logic broke all bones in the mesh (#940) 2024-08-03 21:05:58 -07:00
bd_
c50b3526f6
feat: expose per-component toggles to the NDMF plugin preview UI (#941) 2024-08-03 21:05:10 -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