mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-24 13:29:01 +08:00
feat: inferring prefix/suffix is now triggered when prefix/suffix is empty and merge target changed
This commit is contained in:
parent
5fb4771488
commit
15bedeed08
@ -99,7 +99,7 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
{
|
{
|
||||||
serializedObject.ApplyModifiedProperties();
|
serializedObject.ApplyModifiedProperties();
|
||||||
|
|
||||||
if (target.mergeTargetObject != null && priorMergeTarget == null
|
if (target.mergeTargetObject != null && priorMergeTarget != target.mergeTargetObject
|
||||||
&& string.IsNullOrEmpty(target.prefix)
|
&& string.IsNullOrEmpty(target.prefix)
|
||||||
&& string.IsNullOrEmpty(target.suffix))
|
&& string.IsNullOrEmpty(target.suffix))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user