Hi,

I got an out of range error after clearing an imageforeground.

ImageForeground::addImage(Image *image, Pnt2f position)

pushs a position into the MF

but ImageForegroundBase::clearImages() does clear the position MF

which causes a crash in


void ImageForeground::draw(DrawEnv *, Viewport *vp)
...
for(i = 0; i < getMFPositions()->size(); i++)
    {
        if(getImages(i) != NULL)

with an out of range error in getImage(i).


Greetings,
Dominik




--
Dominik Acri

Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Fraunhoferstrasse 5 | 64283 Darmstadt | Germany
Telefon +49 6151 155-630 | Fax +49 6151 155-139
dominik.a...@igd.fraunhofer.de | www.igd.fraunhofer.de

<<attachment: Dominik_Acri.vcf>>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to