peekabot crasches when loading a scene that use layer in xml files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
peekabot |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
peekabot crasches when loading a scene that use layer in xml files :
glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: Layer must be in the range [0,max_layers)
By suppressing the line : <layer number="1">, for example it's ok
I work on Fedora 12, peekabot 0.8.5
Example :
<?xml version="1.0"?>
<scene>
<layer number="1">
<color r="1.000000" g="0.000000" b="0.000000">
<group>
<name>
<children>
<polygon>
<name>
<vertices>
<vertex>-0.10 -0.09 0.57</vertex>
<vertex>-0.10 -0.08 0.57</vertex>
<vertex>0.10 -0.08 0.57</vertex>
<vertex>0.10 -0.09 0.57</vertex>
</vertices>
</polygon>
</children>
</group>
</color>
</layer>
</scene>
Fixed in the 0.8.x branch. I will make a 0.8.6 release soon. Sorry for the massive delay.