Picking with multiple shapes returns an arbitrary selection, rather than the top shape

Bug #418103 reported by andrew reid on 2009-08-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ModelGUI
Status tracked in Mgui-core
Mgui-core
High
andrew reid

Bug Description

Synopsis

Picking a shape using ShapeFunctions.getPickedShape() returns an arbitrary choice when more than one shapes lie in the pick ray. This function should either return the top shape, or (preferably) be altered to provide an list of shapes (orderd from top to bottom).

Version

1.0.0-alpha

Description

This can be reproduced by calling:

Shape3DInt shape = ShapeFunctions.getPickedShape(getPickCanvasNode(),
                  getPickCanvasGeom(),
                  last_click_point,
                  null);

Workaround

None available; function must be fixed.

andrew reid (typically) on 2009-08-24
Changed in modelgui:
assignee: nobody → andrew reid (typically)
importance: Undecided → High
milestone: none → core-1.0.0-beta
andrew reid (typically) on 2009-08-24
tags: added: graphic3d graphics
andrew reid (typically) wrote :

Fixed; 3D picking now selects the correct shape and correct vertex on the shape.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers