<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Maratis 4 Editor Load Level Feature Difficulty]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=1285&amp;type=atom"/>
	<updated>2020-10-06T13:41:35Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=1285</id>
		<entry>
			<title type="html"><![CDATA[Maratis 4 Editor Load Level Feature Difficulty]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=8264#p8264"/>
			<content type="html"><![CDATA[<p>Hello everyone!</p><p>I&#039;m trying to modify the maratis 4 experimental brunch.<br />For now, I&#039;m stuck with level loading. </p><p>The project is MaratisEditor.<br />For level loading I added levelLoader in main.cpp, so it looks:</p><p> </p><div class="codebox"><pre><code>engine-&gt;getLevelLoader()-&gt;addLoader(xmlLevelLoad)</code></pre></div><p>This took place in winEvents function, when the window is created (MWIN_EVENT_CREATE).</p><br /><p>When I try to load level with</p><div class="codebox"><pre><code>engine-&gt;loadLevel(...)</code></pre></div><p> </p><p>from the winEvents in case MWIN_EVENT_CREATE, it works fine:<br /><a href="https://yadi.sk/i/-oDcZ1HMNVGSoA">https://yadi.sk/i/-oDcZ1HMNVGSoA</a></p><p>When i try to load level from somwhere else (for example, from onEvent method of MV3dEdit, there is a problem):<br /><a href="https://yadi.sk/i/Cw9BVE0jXnPDfw">https://yadi.sk/i/Cw9BVE0jXnPDfw</a></p><p>I checked log and did debug, maratis loads the textures both times.</p><p>So, could you give me the direction of moving to find a solution?</p>]]></content>
			<author>
				<name><![CDATA[hog]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2795</uri>
			</author>
			<updated>2020-10-06T13:41:35Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=8264#p8264</id>
		</entry>
</feed>
