Explorar el Código

Fix empty contact geoms with OdeUtil.collide

rdb hace 16 años
padre
commit
94dd3b9624
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      panda/src/ode/odeContactGeom.cxx

+ 1 - 1
panda/src/ode/odeContactGeom.cxx

@@ -31,7 +31,7 @@ OdeContactGeom(const OdeContactGeom &copy) :
 OdeContactGeom::
 OdeContactGeom::
 OdeContactGeom(const dContactGeom &copy) : 
 OdeContactGeom(const dContactGeom &copy) : 
   _contact_geom() {
   _contact_geom() {
-  *this = _contact_geom;
+  *this = copy;
 }
 }
 
 
 OdeContactGeom::
 OdeContactGeom::