← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2566: 1. Fix compilation pb with cgal (sorry, cgal does not compile with clang, so does not get much co...

 

------------------------------------------------------------
revno: 2566
fixes bug(s): https://launchpad.net/bugs/677550
committer: Václav Šmilauer <eu@xxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-11-19 22:29:56 +0100
message:
  1. Fix compilation pb with cgal (sorry, cgal does not compile with clang, so does not get much coverage from me). Thanks to Ema for reporting.
modified:
  pkg/common/PersistentTriangulationCollider.cpp


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'pkg/common/PersistentTriangulationCollider.cpp'
--- pkg/common/PersistentTriangulationCollider.cpp	2010-11-19 12:30:08 +0000
+++ pkg/common/PersistentTriangulationCollider.cpp	2010-11-19 21:29:56 +0000
@@ -54,7 +54,7 @@
 	{
 //TesselationWrapper Tes;
 		Tes->clear();
-		FOREACH(const shared_ptr<Body>& b, scene->bodies){
+		FOREACH(const shared_ptr<Body>& b, *scene->bodies){
 			if(!b || !b->isDynamic()) continue;
 			//means "is it a sphere (not a wall)"
 			const Sphere* s = YADE_CAST<Sphere*>(b->shape.get());