Hi Jean-Sébastien, On Fri, May 27, 2011 at 6:56 AM, Jean-Sébastien Guay < [email protected]> wrote: > > and I had Max 2011 before and it was working fine, so I'm not sure where > this problem comes from. Has anything changed recently that could affect > this? >
It compiles fine for me, but I just noticed the following in the Max 2012 SDK release notes: There are some incorrect usages of the reference system that can allow > plug-ins to cause instabilities in 3ds Max, and eventually leading to > unexpected behavior or crashes. One such case is when plug-ins call > ReferenceMaker::SetReference()<http://download.autodesk.com/global/docs/3dsmaxsdk2012/en_us/cpp_ref/class_reference_maker.html#ac11372157c1539fe4beb9160e106d739> > directly > on other plug-ins. Doing so only partially updates the reference graph which > results in system instability when the reference links are deleted. The > visibilityReferenceMaker::SetReference()<http://download.autodesk.com/global/docs/3dsmaxsdk2012/en_us/cpp_ref/class_reference_maker.html#ac11372157c1539fe4beb9160e106d739> > has > been changed from public to protected in the class > ReferenceMaker<http://download.autodesk.com/global/docs/3dsmaxsdk2012/en_us/cpp_ref/class_reference_maker.html> > and > all of its sub-classes, to prevent plug-ins from accidentally calling this > method. Plug-ins that have been calling > ReferenceMaker::SetReference()<http://download.autodesk.com/global/docs/3dsmaxsdk2012/en_us/cpp_ref/class_reference_maker.html#ac11372157c1539fe4beb9160e106d739> > on > objects of types other than themselves or their parent class, will have to > change their code to call > ReferenceMaker::ReplaceReference()<http://download.autodesk.com/global/docs/3dsmaxsdk2012/en_us/cpp_ref/class_reference_maker.html#aa14a04444521d1381a989ecd80f385bd> > instead. I don't understand why it compiles fine for me though. I am using a developer preview version of Max 2012. Maybe this change only appeared in the final release version, but then what was the point of the developer preview! I'll try to download the latest version and see if I can replicate this issue. Cheers, Farshid
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

