Commit Graph

73 Commits

Author SHA1 Message Date
nekobako
0b8cd3b3b6
feat: add support for drag-and-drop on MaterialSetter and ShapeChanger (#1271)
* feat: add support for drag-and-drop on MaterialSetter and ShapeChanger

* fix: allow adding known objects to MaterialSetter and ShapeChanger
2024-10-12 16:52:37 -07:00
Sayamame-beans
4a376f8723
Merge Armatureの"Reset position to base avatar"にA/Tポーズ変換オプションを追加 (#1188)
* feat: A/T Pose conversion on "Reset position to base avatar"

* chore: reorder posReset options

* chore: unify FixAPose functions into SetupOutfit.FixAPose
2024-10-12 16:34:30 -07:00
bd_
f85d455c8f fix: NRE issued when viewing Menu Item editor outside of an avatar 2024-10-01 20:14:58 -07:00
bd_
0f28cf7aba fix: warning is shown when using FPV on Android 2024-09-29 12:49:58 -07:00
nekobako
cc93c7e5ed feat: replace checkboxes in ObjectToggle with dropdowns 2024-09-29 06:26:12 -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
Sayamame-beans
8e49df703f
fix: BoneProxy target couldn't be empty after assigned (#1192) 2024-09-23 19:14:26 -07:00
Sayamame-beans
032e7a692e
chore: fpvisible.NotUnderHead is now Warning, not Error (#1194) 2024-09-23 19:13:29 -07:00
bd_
a98ef213ff
fix: performance issues with MAMenuItem (#1170)
Cache parameter introspection results (using PropCache) to avoid excessive
recomputation.

Closes: #1165
2024-09-17 20:25:47 -07:00
nekobako
faa8d210f2
Enhance default value field (#1125)
* feat: enhance default value field input

* fix: format default value when update type or value on parameters inspector

* fix: don't accept NaN and Infinity for default value setting
2024-09-14 17:53:00 -07:00
nekobako
f4d80b857d
fix: exception thrown when opening prefab override ui (#1141) 2024-09-14 17:51:43 -07:00
nekobako
c0582a9961
fix: non-backwards-compatible changes to component initial values (#1114)
* fix: init menu item settings only when added manually from inspector

* fix: init menu item settings when added from some shortcuts

* fix: init menu item settings when reset from context menu

* fix: init merge animator settings only when added manually from inspector
2024-09-13 18:57:03 -07:00
nekobako
3be3cfb74a
Refine some UI (#1119)
* feat: warn by color when Shape Changer has an invalid blendshape

* feat: refine reactive components ui layout

* feat: refine ma parameters ui layout
2024-09-13 18:06:45 -07:00
nekobako
38384a3c70
fix: can't unset the default value for bool parameter (#1121) 2024-09-13 18:04:20 -07:00
bd_
0ee291076f
feat: Menu Item automatic values (#1098) 2024-09-03 19:07:33 -07:00
nekobako
c63128095e
fix: ArgumentNullException when selecting multiple Menu Item with same settings (#1097) 2024-09-03 18:51:36 -07:00
bd_
d403f1b178
ui: improve handling of saved/synced checkboxes on MenuItems with sibling items (#1095)
We will now force the state of all related MenuItems to match when the
synced/saved checkboxes are updated on the Menu Item UI.
2024-09-03 16:05:18 -07:00
bd_
e07b18d87e
fix: Some MenuItemCoreGUI properties do not refresh when rendered in parent menu inspector (#1094)
Closes: #1091
2024-09-03 15:53:44 -07:00
nekobako
f9a9f1f1ef
fix: clearing conflicted MenuItem.isDefault affects unrelated MenuItems (#1089) 2024-09-03 15:28:27 -07:00
bd_
466017c102
feat: add support for drag-and-drop on the MA Object Toggle inspector (#1087) 2024-09-02 19:30:40 -07:00
bd_
371809f430
fix: incorrect handling of isDefault toggles for implicit parameters in UI (#1085)
Closes: #1079
2024-09-02 17:54:36 -07:00
bd_
802fea09d9
feat: serialize Move Independently grouping (#1067)
Closed: #842
2024-08-30 19:19:46 -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_
87a385a43e
feat: add a debugging UI for the reactive components system (#1049) 2024-08-25 20:19:04 -07:00
nekobako
46cf066e04
feat: improve material setter inspector (#1035) 2024-08-25 18:05:19 -07:00
bd_
f44e070c46
fix: exceptions thrown when examining a MenuItem outside of an avatar (#1030) 2024-08-21 20:28:52 -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_
8be802bee5
fix: showing menu contents of an expression menu throws an NRE (#1025)
Closes: #967
2024-08-21 19:23:26 -07:00
bd_
a42295e0e6
fix: scale adjuster tool rotation is not updated appropriately (#1023)
Closes: #1003
2024-08-19 19:14:44 -07:00
bd_
159865e6cd
fix: NRE from Menu Item UI when expression parameters is missing (#1022)
Closes: #797
2024-08-19 18:43:57 -07:00
bd_
436a7dc4dd ui: adjust MA Parameters field width 2024-08-18 19:31:37 -07:00
bd_
7384715059
feat: MA Convert Constraints (#1010) 2024-08-16 18:52:04 -07:00
bd_
467b0d4431
ui: fix accidentally deleted USS for unregistered parameters (#1005) 2024-08-13 20:32:48 -07:00
bd_
3eea882019
feat: show parameter checkboxes when parameters are defined elsewhere/multiselect is active (#1000)
Closes: #994
2024-08-13 20:32:42 -07:00
bd_
3644ffdb12 chore/fix: missing semicolon 2024-08-13 19:27:45 -07:00
bd_
622d846b9f
fix: menu item settings are overwritten when selecting multiple menu items (#999)
Closes: #994
2024-08-12 19:13:28 -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_
3117275277
ui: make new menu item checkboxes translatable (#988)
Note: The menuitem.prop.is_default string is changed and needs to be retranslated.
2024-08-11 18:44:31 -07:00
bd_
d49f87e754
ui: various MA Parameters UI adjustments (#984)
* chore: use ON/OFF for parameters default field

* ui: MA Parameters UI adjustments
2024-08-11 18:09:20 -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_
c2f37bb3a1
ui: redesign MA parameters UI (#956)
Closes: #860, #720
2024-08-06 20:43:32 -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_
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_
f92d10cf50
fix: NullRefExceptions from inspectors (#789)
* fix: NullReferenceError while deleting a GameObject with parameter usage UI open

* fix: NullRefException from editor when moving a Menu Installer outside of an avatar
2024-03-16 20:50:41 +09:00