diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 8bb362b9cb..35c071b512 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2273,6 +2273,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo { auto mouseRayPick = std::make_shared(PickFilter(PickScriptingInterface::PICK_ENTITIES() | PickScriptingInterface::PICK_INCLUDE_NONCOLLIDABLE()), 0.0f, true); mouseRayPick->parentTransform = std::make_shared(); + mouseRayPick->setJointState(PickQuery::JOINT_STATE_MOUSE); auto mouseRayPickID = DependencyManager::get()->addPick(PickQuery::Ray, mouseRayPick); DependencyManager::get()->setMouseRayPickID(mouseRayPickID); }