Sometime in the last few days TextureObjChunk sprung a infinite loop
problem in some code that I have not touched in a while.  Details
follow below:

My code:

  mImage = Image::create();
  // Image allocates its own copy of the data
     mImage->set(Image::OSG_RGB_PF, GRAD_TEX_SIZE, 1, 1, -1, 0, 0.0,
        (UInt8*)data, Image::OSG_UINT8_IMAGEDATA);
  commitChanges(); // Works fine.

  mTexture = TextureObjChunk::create();
     mTexture->setImage(mImage);
  commitChanges(); // <- Infinite loop

Relevant OpenSG code:

This is the code that loops forever in DDD
I also attached the debugger session...

OSGChangeList.cpp:326

   while(_uncommitedChanges.empty() == false)
   {
       _workStore.swap(_uncommitedChanges);
       _uncommitedChanges.clear();

       ChangedStore::iterator       changesIt  = _workStore.begin();
       ChangedStore::const_iterator changesEnd = _workStore.end  ();

       while(changesIt != changesEnd)
       {
           ((*changesIt)->*func)();

           ++changesIt;
       }



Any ideas? I am using the latest svn.

-Dan

--
Daniel E. Shipton
Software Engineer, Infiscape Corp.

Attachment: debugger-output.txt.gz
Description: GNU Zip compressed data

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to