Showing the changes to interface/src/raypick/PointerScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -24,6 +24,10 @@ void PointerScriptingInterface::setIncludeItems(unsigned int uid, const QScriptV · 23 unmodified lines | |||
| 24 | DependencyManager::get<PointerManager>()->setIncludeItems(uid, qVectorQUuidFromScriptValue(includeItems)); | 24 | DependencyManager::get<PointerManager>()->setIncludeItems(uid, qVectorQUuidFromScriptValue(includeItems)); |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | void PointerScriptingInterface::setNonHoverItems(unsigned int uid, const QScriptValue& nonHoverItems) const { | ||
| 28 | DependencyManager::get<PointerManager>()->setNonHoverItems(uid, qVectorQUuidFromScriptValue(nonHoverItems)); | ||
| 29 | } | ||
| 30 | |||
| 27 | unsigned int PointerScriptingInterface::createPointer(const PickQuery::PickType& type, const QVariant& properties) { | 31 | unsigned int PointerScriptingInterface::createPointer(const PickQuery::PickType& type, const QVariant& properties) { |
| 28 | // Interaction with managers should always happen on the main thread | 32 | // Interaction with managers should always happen on the main thread |
| 29 | if (QThread::currentThread() != qApp->thread()) { | 33 | if (QThread::currentThread() != qApp->thread()) { |