Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Scale Gizmo
This commit is contained in:
parent
9962a5a873
commit
0cedf331b1
4 changed files with 20 additions and 4 deletions
|
@ -885,7 +885,7 @@ void GLGizmoRotate3D::on_render()
|
|||
#if ENABLE_RAYCAST_PICKING
|
||||
void GLGizmoRotate3D::on_register_raycasters_for_picking()
|
||||
{
|
||||
// this gizmo is rendered on top of the scene, so the raytraced picker should take it into account
|
||||
// the gizmo grabbers are rendered on top of the scene, so the raytraced picker should take it into account
|
||||
m_parent.set_raycaster_gizmos_on_top(true);
|
||||
for (GLGizmoRotate& g : m_gizmos) {
|
||||
g.register_raycasters_for_picking(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue