40 Commits

Author SHA1 Message Date
bd_
7384715059
feat: MA Convert Constraints () 2024-08-16 18:52:04 -07:00
bd_
467b0d4431
ui: fix accidentally deleted USS for unregistered parameters () 2024-08-13 20:32:48 -07:00
bd_
3eea882019
feat: show parameter checkboxes when parameters are defined elsewhere/multiselect is active ()
Closes: 
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 ()
Closes: 
2024-08-12 19:13:28 -07:00
anatawa12
f4ab86fedc
feat: SetOrInherit mode in MA Mesh Settings for EasySetupOutfit ()
* 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 ()
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 ()
* 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 ()
* 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 ()
* 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 ()
Closes: , 
2024-08-06 20:43:32 -07:00
bd_
8e7526e711
Connect reactive components to MenuItems ()
* 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 ()
* 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 ()
* 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 () 2024-05-13 07:47:14 +09:00
bd_
bc12e3a985
change: MA Info is now a normal editor window () 2024-05-13 05:19:55 +09:00
bd_
f92d10cf50
fix: NullRefExceptions from inspectors ()
* 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
bd_
654aec1aab
feat: add UI to show parameter usage () 2024-03-14 21:33:44 +09:00
bd_
6c4c0afb06
fix: change attachment mode causes non-undoable transform movement ()
Closes: 
2024-02-27 19:27:24 +09:00
bd_
97fe8075a6
feat: add support for VRoid Hub armatures in Setup Outfit () 2024-02-27 19:02:04 +09:00
bd_
f99930999e
fix: compatibility break with animator defaults ()
Changes in 1.9.0 broke existing avatars that used animators with
different default values than the MA Parameters fields. This change
makes overriding the animator defaults require an explicit configuration;
this is technically a change which would require a minor version bump,
but as this is addressing a major-version-level compatibility break in 1.9.0,
we're going to push this out at a minor version this time.
2024-02-21 20:40:31 +09:00
bd_
d57e211d0b
fix: minor issues with scale adjuster ()
* fix: undo operations can cause scale adjuster to perma-disable meshes

* fix: tool is left hidden after scale adjuster is deleted
2024-02-18 21:47:48 +09:00
bd_
cc6ecd4f90
Update parameters docs and Saved field handling ()
* docs: new parameters UI documentation

Closes: 

* feat(params), changelog-callout: adjust handling of Saved flag with parameters

* chore: fix docs links
2024-02-12 19:24:35 +09:00
kaikoga
5359e3b006
chore: Fix non-VRChat support ()
* add referenced assembly

* remove unused usings

* MA Merge Blend Tree is VRC specific

because it expects VRC style Animator Layer setup

* PruneParametersPass is VRChat specific

* fix: use FindAvatarTransformInParents() to be more cross platform

* fix MergeArmatureHook: nop logic for PhysBones if we do not dedup PhysBones

* fix AnimatorCombiner: ignore VRC components when non-VRC

btw, is AnimatorCombiner VRC specific?

* conditional compile some VRChat specific tests
2024-02-12 14:59:23 +09:00
bd_
3d2052d8ff
fix: missing translations on "automatic" rename-to field ()
Closes: 
2024-02-04 20:44:37 +09:00
bd_
1fc9c2d4ac
feat(params): Allow for MA Parameters to _not_ specify a default value ()
* feat(params): track whether a default value was explicitly set

* feat(params): improve default value resolution and error handling
2024-01-28 14:27:43 +09:00
bd_
86fc302fa5
ui(parameters): Rebuild MAParameters UI for Unity 2022 () 2024-01-27 20:06:22 +09:00
bd_
2ad324380e
fix: ScaleAdjuster not usable when gizmos are not enabled ()
Fixes: , 
2023-12-28 16:25:23 +09:00
bd_
2650566f9a
feat: add a component to perform nonuniform scale adjustments () 2023-12-27 20:29:51 +09:00
bd_
aa698565ab
feat: add merge blend tree component ()
* chore: refactor state machine clone logic out as a separate class

* feat: add layer priority and relative path root options to Merge Animator

* feat: add Merge Blend Tree component

* chore: adjust NDMF dependency

* docs: update merge-animator docs

* docs: merge blend tree docs
2023-12-22 17:17:40 +09:00
anatawa12
0e243aa4c6
fix: Erros in Unity 2022 due to GetBoneTransform () 2023-12-12 19:49:32 +09:00
bd_
409501cb39
fix: visible head accessory editor breaks on prefabs ()
Closes: 
2023-11-26 20:52:36 +09:00
bd_
07eedb370d
fix: Merge Armature inspector breaks animator editor styles ()
Also fix another style leak in ESO
2023-11-14 22:10:29 +09:00
bd_
1410503609
fix: select menu creates menu install targets in random order ()
Fixes: 
2023-11-14 20:42:01 +09:00
kaikoga
3667dc319a
chore: Wrap VRC dependencies and VRCAvatarDescriptors ()
* add version defines

* refactor: prefer BuildContext.ctor() overload taking GameObject

* wrap unit tests entirely with MA_VRCSDK3_AVATARS

* wrap unit tests smart with MA_VRCSDK3_AVATARS

* wrap runtime entirely with MA_VRCSDK3_AVATARS

* wrap VRC.SDKBase.IEditorOnly with MA_VRCSDK3_AVATARS

* wrap editor entirely with MA_VRCSDK3_AVATARS

* fix AvatarObjectReference.Get(Component)

* wrap editor smart with MA_VRCSDK3_AVATARS

* wrap BuildContext smart with MA_VRCSDK3_AVATARS

* wrap PluginDefinition smart with MA_VRCSDK3_AVATARS

* style: move conditional compiles one step outside
2023-11-10 15:37:56 +09:00
bd_
a98b8fb457
feat: add UI for setting outfit position to match base avatar () 2023-11-09 22:06:18 +09:00
bd_
0174b71bcc
fix(unity2022): inspector is broken on 2022 () 2023-11-09 14:46:32 +09:00
kaikoga
ae7103cf82
chore: use ndmf Avatar Root api where applicable ()
* expose ndmf AvatarRoot APIs through ma.RuntimeUtil

* refactor: prefer RuntimeUtil helpers for checking avatar root

* refactor: ndmf.BuildContext represents Avatar (log)

* refactor: ndmf.BuildContext represents Avatar (WorldFixed)

* refactor: ndmf.BuildContext represents Avatar (FirstPersonVisible)

* refactor: ndmf.BuildContext represents Avatar (BlendShapeSync)

* refactor: prefer FindAvatarTransformInParents() (ErrorReportUI)

* refactor: prefer FindAvatarTransformInParents() (Runtime)

* refactor: prefer FindAvatarTransformInParents() (Editor)

* delegate more ndmf AvatarRoot APIs through ma.RuntimeUtil
2023-10-15 18:44:53 +09:00
kaikoga
f538bf842f
chore: fix SceneManagement editor using declaration on unity 2021 () 2023-10-09 15:55:27 +09:00
bd_
ddbc3b164b
chore: restructure repository to put package at top-level ()
* chore: rearrange package structure to have the package at the root

* ci: update CI workflows

* ci: fixing workflow bugs

* ci: recurse building .zip package

* ci: more fixes

* ci: add back in the nadena.dev VPM repo

* ci: fix tests
2023-10-08 15:39:57 +09:00