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

Bug #418103 reported by andrew reid
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ModelGUI
Status tracked in Mgui-core
Mgui-core
Fix Committed
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)
Changed in modelgui:
assignee: nobody → andrew reid (typically)
importance: Undecided → High
milestone: none → core-1.0.0-beta
andrew reid (typically)
tags: added: graphic3d graphics
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.