<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — DevideByZeroException: Division by zero]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=165&amp;type=atom" />
	<updated>2016-06-14T13:42:52Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=165</id>
		<entry>
			<title type="html"><![CDATA[Re: DevideByZeroException: Division by zero]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=746#p746" />
			<content type="html"><![CDATA[<p>Hello.</p><p>It happened when resolutionPerPatch = 0.</p><p>How to fix it:<br />Add this to «MeshToTerrainPrefs.cs» Line 499:<br />if (resolutionPerPatch &lt;1) resolutionPerPatch = 1;</p><p>Actually a fixed version is available for a long time through the built-in update system.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-06-14T13:42:52Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=746#p746</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[DevideByZeroException: Division by zero]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=745#p745" />
			<content type="html"><![CDATA[<p>Help me....I cannot sovled this problem</p><p>&lt;error message&gt;</p><p>DivideByZeroException: Division by zero<br />MeshToTerrainPrefs.OnTerrainsGUINew () (at Assets/Infinity Code/MeshToTerrain/Scripts/Editor/MeshToTerrainPrefs.cs:500)<br />MeshToTerrainPrefs.OnTerrainsGUI () (at Assets/Infinity Code/MeshToTerrain/Scripts/Editor/MeshToTerrainPrefs.cs:351)<br />MeshToTerrainPrefs.OnGUI () (at Assets/Infinity Code/MeshToTerrain/Scripts/Editor/MeshToTerrainPrefs.cs:280)<br />MeshToTerrain.OnGUI () (at Assets/Infinity Code/MeshToTerrain/Scripts/Editor/MeshToTerrain.cs:624)<br />System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)</p>]]></content>
			<author>
				<name><![CDATA[zizzlexz]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=160</uri>
			</author>
			<updated>2016-06-14T12:56:23Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=745#p745</id>
		</entry>
</feed>
