L3DT users' community
Large 3D terrain generator

3D Fails with invalid maps present

Please report software faults here.

3D Fails with invalid maps present

Postby David Walters » Tue May 10, 2016 10:12 am

I was trying out the preview DM option in an existing map (which has DM, HF and water/salinity maps)

After completion of the HF replacement I started the 3D renderer.

I got a warning which is fair enough but the rendering failed as well which was unexpected.

Code: Select all
CsLandscape::InitLandscape warning:
 - water map rendering disabled; map is incorrect size.
CSapphireWnd::ShowWnd error:
 -  call to InitLandscape failed
ExtFunc_var_Delete error:
 - invalid var handle (in Sapphire.x64.zeo)

I closed the water and salinity maps and the 3D mode worked.

It would be nicer if it soldiered on without needing me to delete the water map. Apologies if that's actually harder to do than it seems from the outside! :D
David Walters
Posts: 128
Joined: Fri Apr 24, 2009 1:10 pm

Re: 3D Fails with invalid maps present

Postby Aaron » Wed May 11, 2016 1:44 pm

Hi David,

Thanks for the bug report. I've commented out the 'return false'. This error will now be logged, but the rendering will continue without the water map. The fix will be in the next build.

Best regards,
User avatar
Site Admin
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Return to Bug reports

Who is online

Users browsing this forum: No registered users and 3 guests