Pivot picking bug

BlitzMax Modules Forums/MiniB3D/Pivot picking bug

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Using the lastest version, 0.51 - 10/05/08
In class tPick

in function
Function Pick:TEntity(ax:Float,ay:Float,az:Float,bx:Float,by:Float,bz:Float,radius:Float=0.0)

the line
pick=C_Pick(c_col_info,c_line,radius,c_col,c_tform,tree,ent.pick_mode)

crashes with a "Unhandled Exeption:Unhandled memory Exeption Error", when the picked entity is an Pivot.

Pickmode is set with EntityPickMode(2) on an entity that contains one pivot( parent), and one mesh (child).