Showing the changes to interface/src/raypick/PickScriptingInterface.cpp (1 of 9 files). Show all
Unified · Split
| @@ -383,6 +383,10 @@ std::shared_ptr<TransformNode> PickScriptingInterface::createTransformNode(const · 382 unmodified lines | |||
| 383 | if (propMap["parentJointIndex"].isValid()) { | 383 | if (propMap["parentJointIndex"].isValid()) { |
| 384 | parentJointIndex = propMap["parentJointIndex"].toInt(); | 384 | parentJointIndex = propMap["parentJointIndex"].toInt(); |
| 385 | } | 385 | } |
| 386 | glm::vec3 baseScale = glm::vec3(1); | ||
| 387 | if (propMap["baseScale"].isValid()) { | ||
| 388 | baseScale = vec3FromVariant(propMap["baseScale"]); | ||
| 389 | } | ||
| 386 | auto sharedNestablePointer = nestablePointer.lock(); | 390 | auto sharedNestablePointer = nestablePointer.lock(); |
| 387 | if (success && sharedNestablePointer) { | 391 | if (success && sharedNestablePointer) { |
| 388 | NestableType nestableType = sharedNestablePointer->getNestableType(); | 392 | NestableType nestableType = sharedNestablePointer->getNestableType(); |