[Soya-user] [bug #12621] Soya crashes with OpenDE 0.10.1

2009-02-06 Thread Pierre-Yves David

Update of bug #12621 (project soya):

  Status:None = Fixed  
 Open/Closed:Open = Closed 

___

Follow-up Comment #1:

Fixed in the svn version in december.

Will be ok in the next release.

___

Reply to this item at:

  http://gna.org/bugs/?12621

___
  Message sent via/by Gna!
  http://gna.org/


___
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user


[Soya-user] [bug #12621] Soya crashes with OpenDE 0.10.1

2008-11-21 Thread Robert Nilsson

URL:
  http://gna.org/bugs/?12621

 Summary: Soya crashes with OpenDE 0.10.1
 Project: Soya 3D
Submitted by: zaptm
Submitted on: Friday 11/21/2008 at 08:49
Category: None
Severity: 5 - Blocker
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

Soya crashes with the following error when the ode-collision-* tutorials are
run with OpenDE 0.10.1:

ODE INTERNAL ERROR 2: colliders array not initialized in dCollide()

A brief search on Google reveals that this is because dInitODE2() has not
been called. The following patch corrects this:

Index: init.pyx
===
--- init.pyx(revision 455)
+++ init.pyx(working copy)
@@ -344,6 +344,7 @@
init_joysticks()
init_gl()
glewInit()
+   dInitODE2(dAllocateMaskAll)

SDL_UNICODE=0

@@ -370,6 +371,7 @@
soya.inited = 0
base_quit()
quit_cal3d()
+   dCloseODE()
 
 def set_use_unicode(state):
when set, process_event will return a 4 part tuple for a keydown 
event.

---
Index: definitions/ode/ctype.pxd
===
--- definitions/ode/ctype.pxd   (revision 455)
+++ definitions/ode/ctype.pxd   (working copy)
@@ -102,12 +102,17 @@
dRayClass,
dGeomTransformClass,
 
+   cdef enum:
+   dAllocateFlagBasicData = 0
+   dAllocateFlagCollisionData = 0x0001
+   dAllocateMaskAll = ~0
 
# World
dWorldID dWorldCreate()
void dWorldDestroy (dWorldID)
 
void dCloseODE()
+   int dInitODE2(unsigned int uiInitFlags)
 
void dWorldSetGravity (dWorldID, dReal x, dReal y, dReal z)
void dWorldGetGravity (dWorldID, dVector3 gravity)





___

Reply to this item at:

  http://gna.org/bugs/?12621

___
  Message sent via/by Gna!
  http://gna.org/


___
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user