Page 1 of 1

Error when try to split into mosaic an imported heightfield

PostPosted: Fri Jan 12, 2007 10:33 am
by mauronen
Hi Aaron.
Your daily torment is again here... :P
Another bug (2.5 beta 3). After that i've imported a Terragen heightfield and i wnat to split it into mosaic through Operations > Active map > Split into mosaic... appear this in Event log:
Code: Select all
CMainFrame::OnCalcMosaicSplit error:
 - cannot get map name

Maybe could be strictly closed to bug described in this topic:
http://www.bundysoft.com/phpBB2/viewtopic.php?t=401

Cheers.

Mauro.

PostPosted: Sun Jan 14, 2007 10:16 pm
by Aaron
Hi Mauro,

Thanks for the bug report. All of these recent bugs relate to a change in the way L3DT internally addresses maps, which is intended to make it more extensible and more in-line with the plugin API. Clearly I need to do a lot more checking here. Sorry for the inconvenience.

Best regards,
Aaron.

PostPosted: Mon Jan 15, 2007 10:17 pm
by Aaron
Urgh...that little dialog took hours to fix. The way it was, it should never have worked at all, and by rights probably should have been throwing exceptions. Unfortunately, I missed this because a couple of bugs and some clever default arguments for functions combined to re-interpreted the invalid output when you select the 1st option (usually HFF) as the default format (also usually HFF). Thus, as I apparently only ever tested this dialog with HFF (it was the only option when written), it 'appeared' to work OK.

Anyhoo, now fixed. We're on version 2.4 beta build 4.