Skip to content

Commit

Permalink
missed a few more paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Astral-C committed Mar 11, 2024
1 parent 3c02170 commit 18a1633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DOM/ZoneDOMNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void SZoneLayerDOMNode::SaveLayer(){
layerFolder = zone.lock()->mZoneArchive->GetFolder(std::filesystem::path(mLayerName));
if(layerFolder == nullptr){
std::shared_ptr<Archive::Folder> newLayerFolder = Archive::Folder::Create(zone.lock()->mZoneArchive);
newLayerFolder->SetName(std::filesystem::path(mLayerName).stem());
newLayerFolder->SetName(std::filesystem::path(mLayerName).stem().string());

std::shared_ptr<Archive::File> newLayerObjInfo = Archive::File::Create();
newLayerObjInfo->SetName("objinfo");
Expand All @@ -55,7 +55,7 @@ void SZoneLayerDOMNode::SaveLayer(){
layerFolder = zone.lock()->mZoneArchive->GetFolder(std::filesystem::path(mLayerName));
if(layerFolder == nullptr){
std::shared_ptr<Archive::Folder> newLayerFolder = Archive::Folder::Create(zone.lock()->mZoneArchive);
newLayerFolder->SetName(std::filesystem::path(mLayerName).stem());
newLayerFolder->SetName(std::filesystem::path(mLayerName).stem().string());

std::shared_ptr<Archive::File> newLayerObjInfo = Archive::File::Create();
newLayerObjInfo->SetName("ObjInfo");
Expand Down

0 comments on commit 18a1633

Please sign in to comment.