File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ cmake_policy(SET CMP0141 NEW)
33set (CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<IF :$<CONFIG :Debug >,EditAndContinue ,ProgramDatabase >" CACHE STRING "MSVC debug information format" )
44project (
55 NavKit
6- VERSION 2.3.0
6+ VERSION 2.3.1
77 DESCRIPTION "An app to create NAVP and AIRG files for use with Hitman: World of Assassination"
88 LANGUAGES CXX )
99set (CMAKE_CXX_STANDARD 20)
Original file line number Diff line number Diff line change 11#define NavKit_VERSION_MAJOR "2"
22#define NavKit_VERSION_MINOR "3"
3- #define NavKit_VERSION_PATCH "0 "
3+ #define NavKit_VERSION_PATCH "1 "
Original file line number Diff line number Diff line change @@ -106,6 +106,5 @@ class Obj {
106106
107107 void finalizeExtractAlocsOrPrims ();
108108
109- private:
110- void extractAlocsOrPrims ();
109+ void extractAlocsOrPrimsAndStartObjBuild ();
111110};
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ void Obj::buildObj() {
194194 });
195195}
196196
197- void Obj::extractAlocsOrPrims () {
197+ void Obj::extractAlocsOrPrimsAndStartObjBuild () {
198198 Settings &settings = Settings::getInstance ();
199199 std::string retailFolder = " \" " ;
200200 retailFolder += settings.hitmanFolder ;
@@ -444,16 +444,16 @@ bool Obj::canBuildObjFromScene() const {
444444bool Obj::canBuildBlendFromScene () const {
445445 // Currently this is the same as Obj::canBuildObjFromScene.
446446 // Its expected this may change if the blend export includes features OBJ can't handle - like lights.
447- return Obj:: canBuildObjFromScene ();
447+ return canBuildObjFromScene ();
448448}
449449
450450void Obj::handleBuildObjFromSceneClicked () {
451- backgroundWorker.emplace (&Obj::extractAlocsOrPrims , this );
451+ backgroundWorker.emplace (&Obj::extractAlocsOrPrimsAndStartObjBuild , this );
452452}
453453
454454void Obj::handleBuildBlendFromSceneClicked () {
455455 blendFileOnlyExtract = true ;
456- backgroundWorker.emplace (&Obj::extractAlocsOrPrims , this );
456+ backgroundWorker.emplace (&Obj::extractAlocsOrPrimsAndStartObjBuild , this );
457457}
458458
459459void Obj::handleBuildObjFromNavpClicked () {
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ void SceneExtract::finalizeExtractScene() {
129129 const std::string &fileNameString = sceneFile;
130130 sceneScoped.lastLoadSceneFile = sceneFile;
131131 if ((alsoBuildObj || alsoBuildAll) && !obj.startedObjGeneration ) {
132- obj.buildObj ();
132+ obj.extractAlocsOrPrimsAndStartObjBuild ();
133133 }
134134 Logger::log (NK_INFO, (" Done loading nav.json file: '" + fileNameString + " '." ).c_str ());
135135 Menu::updateMenuState ();
You can’t perform that action at this time.
0 commit comments