BinaryConstruct/Terraria-Map-Editor — Issue #245: Crash upon loading a Worldify generated world.
Author: Ijwu
Created: 2012-01-31 00:10:39+00:00
State: open

Sometimes, when attempting to load a world created through Worldify. I say sometimes because it only happened once, of the three times I've attempted this.

Berserker66, creator of Worldify says that the value saying how many times a value is repeated is always set to zero in the case of Worldify.

The world continues to not load in TEdit 3 even after resaving the world with Terraria.

I have the log here:

```
01-30-2012 18:47 v3.1.12019.2351 Error - Attempted to divide by zero.
at TEditXna.Render.PixelMapManager.SetPixelColor(Int32 x, Int32 y, Color color) in D:\Dev\_PROJECTS\Terraria\Terraria-Map-Editor\TEditXna\Render\PixelMapManager.cs:line 103
at TEditXna.ViewModel.WorldViewModel.RenderEntireWorld() in D:\Dev\_PROJECTS\Terraria\Terraria-Map-Editor\TEditXna\ViewModel\WorldViewModel.Editor.cs:line 229
at TEditXna.ViewModel.WorldViewModel.b__25(Task`1 t) in D:\Dev\_PROJECTS\Terraria\Terraria-Map-Editor\TEditXna\ViewModel\WorldViewModel.cs:line 473
at System.Threading.Tasks.Task`1.<>c__DisplayClass1a`1.b__19()
at System.Threading.Tasks.Task`1.InvokeFuture(Object futureAsObj)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
```