Showing the changes to libraries/physics/src/ObjectActionSpring.cpp (1 of 7 files). Show all
Unified · Split
| @@ -108,7 +108,7 @@ bool ObjectActionSpring::updateArguments(QVariantMap arguments) { · 107 unmodified lines | |||
| 108 | EntityActionInterface::extractFloatArgument("spring action", arguments, "angularTimeScale", rscOk, false); | 108 | EntityActionInterface::extractFloatArgument("spring action", arguments, "angularTimeScale", rscOk, false); |
| 109 | 109 | ||
| 110 | if (!ptOk && !rtOk) { | 110 | if (!ptOk && !rtOk) { |
| 111 | qDebug() << "spring action requires either targetPosition or targetRotation argument"; | 111 | qDebug() << "spring action requires at least one of targetPosition or targetRotation argument"; |
| 112 | return false; | 112 | return false; |
| 113 | } | 113 | } |
| 114 | 114 | ||