irrEdit 0.4 Save Scene bug?

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
marco.siino
Posts: 14
Joined: Thu Oct 13, 2005 2:36 pm

irrEdit 0.4 Save Scene bug?

Post 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
--
Marco Siino
Software Developer for an italian Software House

"Reality is merely an illusion, albeit a very persistent one" - Albert Einstein
Zar
Posts: 29
Joined: Mon Aug 07, 2006 4:46 pm
Location: Brazil

Post by Zar »

Post Reply