Merge remote-tracking branch 'origin/1.7' into 1.7
# Conflicts: # Source/Engine/Physics/Actors/Cloth.cpp
This commit is contained in:
@@ -733,6 +733,7 @@ void Cloth::CalculateInvMasses(Array<float>& invMasses)
|
||||
|
||||
bool Cloth::OnPreUpdate()
|
||||
{
|
||||
#if WITH_CLOTH
|
||||
if (!IsActiveInHierarchy())
|
||||
return true;
|
||||
if (!_simulationSettings.UpdateWhenOffscreen && _simulationSettings.CullDistance > 0)
|
||||
@@ -834,7 +835,7 @@ bool Cloth::OnPreUpdate()
|
||||
|
||||
PhysicsBackend::UnlockClothParticles(_cloth);
|
||||
}
|
||||
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user