-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
OSG reference counting doesn't need to be thread safe, even in the
multi-threaded OSG modes, unless you're doing something very tricky. In
any event, it shouldn't be turned on in the model reader initialization.

Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGVggfeDhWHdXrDRURAk2kAJ9DWJVdmEU8i6krjA4ODUPxf4YisgCgwGsi
VZwOGnZ7EdzfCjR2FhOVjtA=
=J8L3
-----END PGP SIGNATURE-----
diff -ru -x CVS -x .cvsignore -x Makefile.in ../../fgcvs/SimGear/source/simgear/scene/model/model.cxx SimGear/source/simgear/scene/model/model.cxx
--- ../../fgcvs/SimGear/source/simgear/scene/model/model.cxx	2007-04-03 13:25:07.000000000 +0200
+++ SimGear/source/simgear/scene/model/model.cxx	2007-05-24 23:10:35.000000000 +0200
@@ -327,8 +327,6 @@
 public:
   SGReadCallbackInstaller()
   {
-    osg::Referenced::setThreadSafeReferenceCounting(true);
-
     osgDB::Registry* registry = osgDB::Registry::instance();
     osgDB::ReaderWriter::Options* options = new osgDB::ReaderWriter::Options;
     options->setObjectCacheHint(osgDB::ReaderWriter::Options::CACHE_ALL);
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to