Page 1 of 1

CMosaicMap::GetTileMinMaxAlt error - incorrect map type

PostPosted: Thu Nov 23, 2006 11:42 am
by notareal
With 2.4b Rev. 15 I'd try to export 32kx32k (512 tiles) texture map and resize to to 2048x2048 png, I do get errors. From log:

OnFileExportActivemap (CMainFrame)
Showing wizard pane 'Export map'
Executing program 'ExportWizard'
Beginning calc thread (code = 2001)
Exporting map as 'C:\Documents and Settings\xxx\My Documents\xxx\xxx-TX.png'
Initialising mosaic
>> Mosaic name: 'TX'
>> Map type: '24bit' (code = 3)
>> Filename: 'C:\Program Files\Bundysoft\L3DT Professional 2.4.2.15\Temp\2\ExportMap\swap'
>> Size (pixels): 2048 x 2048
>> Size (tiles): 4 x 4
>> Tile size: 512
>> File format: 'BMP' (ext = 'bmp')
Resizing map

CMosaicMap::GetTileMinMaxAlt error:
- incorrect map type"
.
.
.
Exported png seems to be ok anyway, so it's more cosmetic error I hope.

PostPosted: Thu Nov 23, 2006 12:02 pm
by Aaron
Hi Notareal,

Oopsie. That code shouldn't be running for a texture map - it is used to get the min/max altitude for saving heightfields and water maps so that the greyscales are consistent across tiles. Anyhoo, it shouldn't affect the output of the other maps, and it should work properly for the HF/WM, so this is just cosmetic as you say. I'll hopefully have some time next week to fix this up. Thanks for the bug report.

Best regards,
Aaron.

PostPosted: Sun Nov 26, 2006 11:41 am
by Aaron
I've found the fault, and the fix will be included in the next update.