Page 1 of 1

irrEdit 0.4 Save Scene bug?

Posted: Tue Sep 05, 2006 10:34 pm
by marco.siino
Hello! This is the first time i'm trying irrEdit, and i've downloaded the 0.4 version.

I think there is a bug when saving a scene file from the editor. For example, if i use the example.irr scene in a simple irrLicht application that load it, it works, but if i load example.irr in irrEdit, then i save it again (i left all the scene as is, without editing nothing), but now if i load the save scene in the test irrLicht app that i've done it doesn't work....nothing appear...

Then i tryed to see what is the difference between the first example.irr, and the new that i've saved from the irrEdit, and i see that in the new there aren't some rows in the scene root attributes.

This is the first part of the new example.irr (the one that doesn't work):

<?xml version="1.0"?>
<irr_scene>

<attributes>
<string name="Name" value="root" />
<int name="Id" value="-1" />
<colorf name="AmbientLight" value="0.000000, 0.000000, 0.000000, 0.000000" />
</attributes>


and this is the first, that works:

<?xml version="1.0"?>
<irr_scene>

<attributes>
<string name="Name" value="root" />
<int name="Id" value="-1" />
<vector3d name="Position" value="0.000000, 0.000000, 0.000000" />
<vector3d name="Rotation" value="0.000000, 0.000000, 0.000000" />
<vector3d name="Scale" value="1.000000, 1.000000, 1.000000" />
<bool name="Visible" value="true" />
<bool name="AutomaticCulling" value="true" />
<bool name="DebugDataVisible" value="false" />
<bool name="IsDebugObject" value="false" />
</attributes>


As you can see, some part of attributes is missing in the new example.irr that i saved. Infact if i copy this attribute block from the first example.irr and paste in to the new, it works!


It is a bug, or i mistake something?


Thanks!

Marco Siino
Software Developer

Posted: Tue Sep 05, 2006 10:59 pm
by Zar