diff options
| author | Japa | 2011-02-28 03:24:32 +0000 |
|---|---|---|
| committer | Japa | 2011-02-28 03:24:32 +0000 |
| commit | 92b8343b5ec1758e5161ac282510d787ba32f00b (patch) | |
| tree | c60170f9993fc6bcd854dcd277c6487d6149bf64 /Config.cpp | |
| parent | ded0a7567cbf96049d5e15e98d3641baa45f2930 (diff) | |
| download | stonesense-92b8343b5ec1758e5161ac282510d787ba32f00b.tar.gz stonesense-92b8343b5ec1758e5161ac282510d787ba32f00b.tar.bz2 stonesense-92b8343b5ec1758e5161ac282510d787ba32f00b.tar.xz | |
fixed the phantom outlines that were showing up.
Diffstat (limited to 'Config.cpp')
| -rw-r--r-- | Config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ void parseConfigLine( string line ){ } if( line.find("[SEGMENTSIZE_XY") != -1){ int value = parseIntFromLine( "SEGMENTSIZE_XY", line ); - if(value < 5) value = DEFAULT_SEGMENTSIZE; + if(value < 1) value = DEFAULT_SEGMENTSIZE; if(value > 100) value = 100; //plus 2 to allow edge readings config.segmentSize.x = value+2; |
