diff options
| author | Japa | 2011-07-20 15:59:11 +0000 |
|---|---|---|
| committer | Japa | 2011-07-20 15:59:11 +0000 |
| commit | aee9dc6758120d57a8fabc013a16c82f6682099c (patch) | |
| tree | 7d2ddd6cabb61e948d5cd19f7838ab313ac1c6e9 /VegetationConfiguration.cpp | |
| parent | 3eacec9eef6da5e6ce6f7d966a6b601f6268557c (diff) | |
| download | stonesense-aee9dc6758120d57a8fabc013a16c82f6682099c.tar.gz stonesense-aee9dc6758120d57a8fabc013a16c82f6682099c.tar.bz2 stonesense-aee9dc6758120d57a8fabc013a16c82f6682099c.tar.xz | |
Got some sort of functionality out of DFapi. this means an empty window.
Diffstat (limited to 'VegetationConfiguration.cpp')
| -rw-r--r-- | VegetationConfiguration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/VegetationConfiguration.cpp b/VegetationConfiguration.cpp index bfa4558..27e968e 100644 --- a/VegetationConfiguration.cpp +++ b/VegetationConfiguration.cpp @@ -31,6 +31,7 @@ bool addSingleVegetationConfig( TiXmlElement* elemRoot, vector<VegetationConfig if (filename != NULL && filename[0] != 0)
{
basefile = loadConfigImgFile((char*)filename, elemRoot);
+ if(basefile == -1) return false;
}
TiXmlElement* elemTree;
|
