mccdo / osgbullet

Bullet physics and OpenSceneGraph integration
65 stars 34 forks source link

Make ColladaConverter optional #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From Kris Blom. Linking against ColladaConverter prohibits use of OSG Collada 
plugin. Attached cmake patch makes ColladaConverter optional. 

Original issue reported on code.google.com by SkewMat...@gmail.com on 25 Feb 2010 at 6:36

Attachments:

GoogleCodeExporter commented 9 years ago
Fixes in r36.

Submission contained an additional change to modify some CMake variable usage 
in the 
FindBullet.cmake script, now opened as issue 9.

The only other change was that the submission defaulted to collada off; changed 
this to 
default to collada on for backwards compatibility.

Original comment by SkewMat...@gmail.com on 25 Feb 2010 at 9:14

GoogleCodeExporter commented 9 years ago
I've reworked this for both the v1.1 branch and svn trunk.

CMake now autodetects the presence of ColladaConverter and disables 
Collada-specific 
functionality in osgBullet if ColladaConverter is now found. For example, 
loadDae() 
becomes a no-op: it prints some warning messages and returns NULL.

osgBullet will have this behavior when built with Bullet 2.76, for example, but 
will 
also have this behavior if built with an older version of Bullet that lacks 
ColladaConverter.

Original comment by SkewMat...@gmail.com on 16 Apr 2010 at 3:42

GoogleCodeExporter commented 9 years ago
Resolved in 1.1 release.

Original comment by SkewMat...@gmail.com on 25 Sep 2010 at 7:14