Pivot picking bug

BlitzMax Modules Forums/MiniB3D/Pivot picking bug

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).