Here's a patch to ode/shape.pyx to prevent a crash
if you try to create a GeomShape without providing
a shape.
--
Greg
--- Soya-0.11.2-orig/ode/shape.pyx 2006-06-09 09:38:04.000000000 +1200
+++ Soya-0.11.2/ode/shape.pyx 2006-07-12 13:04:48.000000000 +1200
@@ -99,8 +99,11 @@
cdef int i, nb_tris
cdef dSpaceID sid
- if shape is None:
+ if shape is None and parent is not None:
shape = parent._shape
+
+ if shape is None:
+ raise ValueError("No shape
passed or found in parent of soya.ode.GeomShape")
self.shape = shape
_______________________________________________
Soya-user mailing list
[email protected]
https://mail.gna.org/listinfo/soya-user