Showing the changes to interface/src/raypick/PointerScriptingInterface.cpp (1 of 8 files). Show all
Unified · Split
| @@ -24,10 +24,6 @@ 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 | |||
| 31 | unsigned int PointerScriptingInterface::createPointer(const PickQuery::PickType& type, const QVariant& properties) { | 27 | unsigned int PointerScriptingInterface::createPointer(const PickQuery::PickType& type, const QVariant& properties) { |
| 32 | // Interaction with managers should always happen on the main thread | 28 | // Interaction with managers should always happen on the main thread |
| 33 | if (QThread::currentThread() != qApp->thread()) { | 29 | if (QThread::currentThread() != qApp->thread()) { |
| @@ -179,4 +175,8 @@ QVariantMap PointerScriptingInterface::getPrevPickResult(unsigned int uid) const · 145 unmodified lines | |||
| 179 | result = pickResult->toVariantMap(); | 175 | result = pickResult->toVariantMap(); |
| 180 | } | 176 | } |
| 181 | return result; | 177 | return result; |
| 182 | } | 178 | } |
| 179 | |||
| 180 | void PointerScriptingInterface::setDoesHover(unsigned int uid, bool hover) const { | ||
| 181 | DependencyManager::get<PointerManager>()->setDoesHover(uid, hover); | ||
| 182 | } | ||