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

Bug #799662 reported by Emmanuel Battesti
6
This bug affects 1 person
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>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

Revision history for this message
Emmanuel Battesti (emmanuel-battesti) wrote :
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.