Updated GenerateMask helper
This commit is contained in:
@@ -7,9 +7,10 @@ namespace Misaki.ArtToolEditor
|
||||
{
|
||||
internal class ExtractMaterialsVisualProvider : OptionsVisualProvider
|
||||
{
|
||||
public override VisualElement ContentAfterList()
|
||||
public override void ContentAfterList(VisualElement rootVisualElement)
|
||||
{
|
||||
var root = new VisualElement();
|
||||
rootVisualElement.dataSource = processor;
|
||||
|
||||
var materialRemapOptionContainer = new VisualElement()
|
||||
{
|
||||
style =
|
||||
@@ -58,9 +59,8 @@ namespace Misaki.ArtToolEditor
|
||||
materialRemapOptionContainer.Add(materialRemapNamingOptionField);
|
||||
materialRemapOptionContainer.Add(materialRemapSearchOptionField);
|
||||
|
||||
root.Add(useMaterialRemapField);
|
||||
root.Add(materialRemapOptionContainer);
|
||||
return root;
|
||||
rootVisualElement.Add(useMaterialRemapField);
|
||||
rootVisualElement.Add(materialRemapOptionContainer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user