Skip to content

Commit 84f2d4d

Browse files
authored
Merge pull request WolvenKit#2768 from WolvenKit/axl-generator-fix-placementslot-again
fix placement slot
2 parents 4f0b4e9 + c7c6575 commit 84f2d4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WolvenKit.App/Services/ArchiveXlItemService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,7 @@ private void AddRootEntity(ArchiveXlClothingItem clothingItemData, Cp77Project a
829829

830830
// Take care of the tags
831831
rootEntity.VisualTagsSchema ??= new CHandle<entVisualTagsSchema>() { Chunk = new entVisualTagsSchema() };
832+
rootEntity.DefaultAppearance = itemName;
832833

833834
var tags = rootEntity.VisualTagsSchema.Chunk ?? new entVisualTagsSchema();
834835
tags.VisualTags ??= new redTagList();
@@ -963,7 +964,7 @@ private void CreateYamlEntry(ArchiveXlClothingItem clothingItemData, Cp77Project
963964
{ "atlasResourcePath", clothingItemData.InkatlasPath }, { "atlasPartName", $"{atlasPathName}" }
964965
};
965966

966-
var placementSlots = new YamlSequenceNode() { $"OutfitSlots.{clothingItemData.EqExSlot}" };
967+
var placementSlots = new YamlSequenceNode() { $"!append-once OutfitSlots.{clothingItemData.EqExSlot}" };
967968

968969
var yamlData = new YamlMappingNode();
969970
var yaml = new YamlMappingNode() { { itemName, yamlData } };

0 commit comments

Comments
 (0)