Is there a way for manually force the entire current set of field
containers to be added to the current change list?
I have a situation in my application where I would like to send the
current state of OpenSG to a remote aspect, but I can't rely upon that
aspect having received any previous updates.
I have tried:
const std::vector<OSG::FieldContainerPtr>* fcs =
OSG::FieldContainerFactory::the()->getFieldContainerStore();
std::cout << "Forcing dump of all fc's: FCS: size: " << fcs->size() <<
std::endl;
for ( OSG::UInt32 i = 0; i < fcs->size(); ++i )
{
const OSG::FieldContainerPtr fcp = (*fcs)[i];
if(OSG::NullFC != fcp)
{
OSG::beginEditCP(fcp);
OSG::endEditCP(fcp);
}
}
But this faults out with a segmentation fault. :(
Any ideas?
-Allen
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users