From 649940de244b7fc509818448c3addb0aa0c49d51 Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Tue, 9 Dec 2014 11:53:32 -0800 Subject: [PATCH] wrong pickray function --- interface/src/ui/NodeBounds.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interface/src/ui/NodeBounds.cpp b/interface/src/ui/NodeBounds.cpp index 3c6b4c625a..b0d3ddd14f 100644 --- a/interface/src/ui/NodeBounds.cpp +++ b/interface/src/ui/NodeBounds.cpp @@ -38,7 +38,8 @@ void NodeBounds::draw() { // Compute ray to find selected nodes later on. We can't use the pre-computed ray in Application because it centers // itself after the cursor disappears. Application* application = Application::getInstance(); - PickRay pickRay = application->getCamera()->computeViewPickRay(application->getTrueMouseX(), application->getTrueMouseY()); + PickRay pickRay = application->getCamera()->computePickRay(application->getTrueMouseX(), + application->getTrueMouseY()); // Variables to keep track of the selected node and properties to draw the cube later if needed Node* selectedNode = NULL;