Skip to content

Commit

Permalink
V78 - trying to fix empty null array on xcode project (#575)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitre authored Sep 24, 2024
1 parent d87bedf commit 741ca9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commandLine/src/defines.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define OFPROJECTGENERATOR_MAJOR_VERSION "0"
#define OFPROJECTGENERATOR_MINOR_VERSION "77"
#define OFPROJECTGENERATOR_MINOR_VERSION "78"
#define OFPROJECTGENERATOR_PATCH_VERSION "0"

#define PG_VERSION (OFPROJECTGENERATOR_MAJOR_VERSION "." OFPROJECTGENERATOR_MINOR_VERSION "." OFPROJECTGENERATOR_PATCH_VERSION)
3 changes: 2 additions & 1 deletion commandLine/src/projects/xcodeProject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,8 @@ bool xcodeProject::saveProjectFile(){
}
else if (cols[2] == "array") {
try {
j[p] = {};
// j[p] = {};
j[p] = json::array({});
} catch (std::exception & e) {
ofLogError() << "array " << e.what();
}
Expand Down

0 comments on commit 741ca9c

Please sign in to comment.