You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newLabel("Parameter is a default one, by default it will be added to the parameters, but not listed in the synced parameters, you should not add any affix unless you know what you're doing")
@@ -110,17 +132,26 @@ public AnimatorMergerElement(VrcAnimationLayer layer)
110
132
_parametersToMerge.Add(p);
111
133
}
112
134
135
+
if(!allowMerge)
136
+
{
137
+
newLabel("Target controller contains a parameter with a different type than the base controller. These controllers cannot be merged.")
138
+
.WithClass("red-text")
139
+
.ChildOf(parametersListContainer);
140
+
}
141
+
142
+
mergeOnCurrent.SetEnabled(allowMerge);
143
+
mergeOnNew.SetEnabled(allowMerge);
113
144
});
114
145
115
146
varoperationsArea=newVisualElement()
116
147
.WithClass("top-spaced")
117
148
.WithFlexDirection(FlexDirection.Row)
118
149
.ChildOf(this);
119
-
varmergeOnCurrent=FluentUIElements
150
+
mergeOnCurrent=FluentUIElements
120
151
.NewButton("Merge on current","Merge this animator on the current layer animator")
121
152
.WithClass("grow-control")
122
153
.ChildOf(operationsArea);
123
-
varmergeOnNew=FluentUIElements
154
+
mergeOnNew=FluentUIElements
124
155
.NewButton("Merge on new","Create a copy of the layer animator and merge this animator on that")
0 commit comments