Commit Graph

50 Commits

Author SHA1 Message Date
bd_
7040e3992b fix: ROSimulator UI refresh sometimes gets wedged
Closes: #1219
2024-09-28 20:05:53 -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_
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
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_
51fedbd9b0
fix: ROSimulator registers multiple event handlers for state override buttons (#1203) 2024-09-23 20:27:56 -07:00
bd_
bf47a4c544
fix: reactive components break WD ON avatars (#1202)
Closes: #1199
2024-09-23 20:18:04 -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
9dfa0dae23
fix: remove unnecessory exit transitions for reactive components (#1161) 2024-09-22 13:42:31 -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_
4e3001ad65 fix: NullReferenceExceptions from ShapeChangerPreview 2024-09-14 18:42:01 -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
nekobako
106ba8c5ff
fix: previewing Object Toggle targets Renderers other than MeshRender… (#1112)
* fix: NullReferenceException when previewing Object Toggle with renderers other than MeshRenderer and SkinnedMeshRenderer

* fix: NullReferenceException when previewing Scale Adjuster with renderers other than MeshRenderer and SkinnedMeshRenderer
2024-09-13 17:52:45 -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_
acd6c50543
fix: menu item override is not shown in sim for autoprop boolean toggles (#1104) 2024-09-04 17:00:08 -07:00
bd_
89b4c8f921
fix: deactivating an inactive menu item doesn't work as expected (#1102) 2024-09-04 12:41:00 -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_
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