revert #1148 as prematurely incorporated

it's getting there, but there have been a few spots noted where it eroneously corrupts text, so we'll have to pull this back out for a bit barring a proper resolution
This commit is contained in:
AzaezelX 2024-01-11 13:33:03 -06:00
parent 78b56688d3
commit f946088214
22 changed files with 1813 additions and 20385 deletions

View file

@ -71,7 +71,7 @@ bool blTerrainChunk::read(Stream & stream)
return(false);
mLightmap = new GBitmap();
return false;//mLightmap->readBitmap("png",stream);
return mLightmap->readBitmap("png",stream);
}
bool blTerrainChunk::write(Stream & stream)
@ -82,8 +82,8 @@ bool blTerrainChunk::write(Stream & stream)
if(!mLightmap)
return(false);
//if(!mLightmap->writeBitmap("png",stream))
//return(false);
if(!mLightmap->writeBitmap("png",stream))
return(false);
return(true);
}