mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-04 13:45:04 +08:00
c5e787045a
- Rebased to 1.10.0-rc.4 because the inspector of SubMenu of source Expressions Menu were broken in the base commit this branch initially started with, which was preventing testing some aspects raised during review. - When this is being rendered as part of an SubMenu of source Expressions Menu, don't use any of the label logic, as menu items within such an Expressions Menu are not backed by any GameObject. - Rename _isTryingRichLabel to _useLabel. - Since switching to unlinked always overwrites the label field with the current ObjectName, and switching to linked always empties the label field, the state of _useLabel while the Inspector is open is implied by the value of the label field, or the previous state of the _useLabel field itself when the label field is being emptied out. - In addition, use the |= operator. - When the name is linked, and the user begins typing the "<" character, set the label field, and do not apply the name. This will automatically switch to linked mode as the inspector will be reevaluated a second time. - If the original object name already contains a "<" character (i.e. it comes from a previous version of Modular Avatar), there will be no automatic conversion happening as long as the object name still contains the "<" character. - Changed the localization keys to discard the rich text toggle aspect. - Not addressed: When multiple Menu Item components are selected, the behaviour of the inspector currently edits the GameObject name, with no link button, and no automatic conversion when typing "<", regardless of the contents of the label field. |
||
---|---|---|
.. | ||
Common | ||
MaterialSetter | ||
Menu | ||
MoveIndependently | ||
ObjectToggle | ||
Parameters | ||
ShapeChanger | ||
.editorconfig | ||
AvatarObjectReferenceDrawer.cs | ||
AvatarObjectReferenceDrawer.cs.meta | ||
BlendshapeSelectTreeView.cs | ||
BlendshapeSelectTreeView.cs.meta | ||
BlendshapeSyncEditor.cs | ||
BlendshapeSyncEditor.cs.meta | ||
BoneProxyEditor.cs | ||
BoneProxyEditor.cs.meta | ||
ColumnReorderableList.cs | ||
ColumnReorderableList.cs.meta | ||
Common.meta | ||
EnumDrawer.cs | ||
EnumDrawer.cs.meta | ||
FirstPersonVisibleEditor.cs | ||
FirstPersonVisibleEditor.cs.meta | ||
InspectorCommon.cs | ||
InspectorCommon.cs.meta | ||
LogoDisplay.cs | ||
LogoDisplay.cs.meta | ||
MAAssetBundleEditor.cs | ||
MAAssetBundleEditor.cs.meta | ||
MAConvertConstraintsEditor.cs | ||
MAConvertConstraintsEditor.cs.meta | ||
MAEditorBase.cs | ||
MAEditorBase.cs.meta | ||
MaterialSetter.meta | ||
Menu.meta | ||
MergeAnimationEditor.cs | ||
MergeAnimationEditor.cs.meta | ||
MergeArmatureEditor.cs | ||
MergeArmatureEditor.cs.meta | ||
MergeBlendTreeEditor.cs | ||
MergeBlendTreeEditor.cs.meta | ||
MeshSettingsEditor.cs | ||
MeshSettingsEditor.cs.meta | ||
MoveIndependently.meta | ||
ObjectToggle.meta | ||
Parameters.meta | ||
PBBlockerEditor.cs | ||
PBBlockerEditor.cs.meta | ||
ReplaceObjectEditor.cs | ||
ReplaceObjectEditor.cs.meta | ||
ScaleAdjusterInspector.cs | ||
ScaleAdjusterInspector.cs.meta | ||
ScaleAdjusterTool.cs | ||
ScaleAdjusterTool.cs.meta | ||
ShapeChanger.meta | ||
WorldFixedObjectEditor.cs | ||
WorldFixedObjectEditor.cs.meta | ||
ZeroIndentScope.cs | ||
ZeroIndentScope.cs.meta |