Showing the changes to libraries/physics/src/ObjectActionSpring.cpp (1 of 3 files). Show all
Unified · Split
| @@ -159,14 +159,13 @@ bool ObjectActionSpring::updateArguments(QVariantMap arguments) { · 158 unmodified lines | ||
| 159 | 159 | _rotationalTarget = rotationalTarget; |
| 160 | 160 | _angularTimeScale = glm::max(MIN_TIMESCALE, glm::abs(angularTimeScale)); |
| 161 | 161 | _active = true; |
| 162 | − activateBody(); | |
| 163 | 162 | |
| 164 | 163 | auto ownerEntity = _ownerEntity.lock(); |
| 165 | 164 | if (ownerEntity) { |
| 166 | 165 | ownerEntity->setActionDataDirty(true); |
| 167 | 166 | } |
| 168 | − | |
| 169 | 167 | }); |
| 168 | + activateBody(); | |
| 170 | 169 | } |
| 171 | 170 | |
| 172 | 171 | return true; |