|
@@ -95,6 +95,7 @@ void PhysicsConstraintResetTimeline::apply(Skeleton &skeleton, float lastTime, f
|
|
else {
|
|
else {
|
|
Vector<PhysicsConstraint *> &physicsConstraints = skeleton.getPhysicsConstraints();
|
|
Vector<PhysicsConstraint *> &physicsConstraints = skeleton.getPhysicsConstraints();
|
|
for (size_t i = 0; i < physicsConstraints.size(); i++) {
|
|
for (size_t i = 0; i < physicsConstraints.size(); i++) {
|
|
|
|
+ constraint = physicsConstraints[i];
|
|
if (constraint->_active) constraint->reset();
|
|
if (constraint->_active) constraint->reset();
|
|
}
|
|
}
|
|
}
|
|
}
|