peekabot crasches when loading a scene that use layer in xml files

Bug #799662 reported by Emmanuel Battesti on 2011-06-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
peekabot
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>objet</name>
   <children>
    <polygon>
     <name>face_0</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>

Related branches

Staffan Gimåker (gimaker) wrote :

Fixed in the 0.8.x branch. I will make a 0.8.6 release soon. Sorry for the massive delay.

Changed in peekabot:
status: New → Fix Committed
Staffan Gimåker (gimaker) wrote :

Fixed in 0.8.6.

Changed in peekabot:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments