Skip to content

Commit

Permalink
fixing merge bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hakasapl committed Jul 28, 2024
1 parent d6e9d68 commit 3f55cd0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
38 changes: 19 additions & 19 deletions cfg/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,45 @@
"parallax_lookup": {
"archive_blocklist": [],
"allowlist": [
"textures/**/*"
]
"textures/**"
],
"blocklist": []
},
"complexmaterial_lookup": {
"archive_blocklist": [
"Skyrim - Textures*"
],
"allowlist": [
"textures/**/*"
"textures/**"
],
"blocklist": []
},
"truepbr_cfg_lookup": {
"archive_blocklist": [],
"allowlist": [
"pbrnifpatcher/**/*"
"pbrnifpatcher/**"
],
"blocklist": []
},
"nif_lookup": {
"archive_blocklist": [],
"allowlist": [
"meshes/**/*"
"meshes/**"
],
"blocklist": [
"**/actors/**/*",
"**/armor/**/*",
"**/cameras/**/*",
"**/decals/**/*",
"**/dyndolod/**/*",
"**/effects/**/*",
"**/interface/**/*",
"**/loadscreenart/**/*",
"**/lod/**/*",
"**/magic/**/*",
"**/markers/**/*",
"**/mps/**/*",
"**/sky/**/*",
"**/water/**/*"
"**/actors/**",
"**/cameras/**",
"**/decals/**",
"**/dyndolod/**",
"**/effects/**",
"**/interface/**",
"**/loadscreenart/**",
"**/lod/**",
"**/magic/**",
"**/markers/**",
"**/mps/**",
"**/sky/**",
"**/water/**"
]
}
}
6 changes: 3 additions & 3 deletions src/ParallaxGenDirectory/ParallaxGenDirectory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void ParallaxGenDirectory::findTruePBRConfigs()
// Find True PBR configs
spdlog::info("Finding TruePBR configs");

// get relevant lists
// get relevant lists
vector<wstring> truepbr_allowlist = jsonArrayToWString(PG_config["truepbr_cfg_lookup"]["allowlist"]);
vector<wstring> truepbr_blocklist = jsonArrayToWString(PG_config["truepbr_cfg_lookup"]["blocklist"]);
vector<wstring> truepbr_archive_blocklist = jsonArrayToWString(PG_config["truepbr_cfg_lookup"]["archive_blocklist"]);
Expand Down Expand Up @@ -122,7 +122,7 @@ void ParallaxGenDirectory::findTruePBRConfigs()
}
catch (nlohmann::json::parse_error& e) {
spdlog::error(L"Unable to parse TruePBR config file {}: {}", config.wstring(), convertToWstring(e.what()));
continue;
continue;
}
}

Expand Down Expand Up @@ -154,7 +154,7 @@ void ParallaxGenDirectory::loadPGConfig(bool load_default)
}
}

// Loop through each element in JSON
// Loop through each element in JSON
replaceForwardSlashes(PG_config);
}

Expand Down

0 comments on commit 3f55cd0

Please sign in to comment.