From 238605d8225a9135d6b60646e05d066e25424eee Mon Sep 17 00:00:00 2001 From: Sheikh Dawood Date: Mon, 9 Apr 2018 10:13:48 -0500 Subject: PhysX 3.4, APEX 1.4 patch release @23879214 --- PhysX_3.4/Source/SimulationController/src/ScShapeSim.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'PhysX_3.4/Source/SimulationController/src/ScShapeSim.cpp') diff --git a/PhysX_3.4/Source/SimulationController/src/ScShapeSim.cpp b/PhysX_3.4/Source/SimulationController/src/ScShapeSim.cpp index 159450ce..42bd5e88 100644 --- a/PhysX_3.4/Source/SimulationController/src/ScShapeSim.cpp +++ b/PhysX_3.4/Source/SimulationController/src/ScShapeSim.cpp @@ -185,7 +185,8 @@ void Sc::ShapeSim::removeFromBroadPhase(bool wakeOnLostTouch) void Sc::ShapeSim::reinsertBroadPhase() { - internalRemoveFromBroadPhase(); + if(isInBroadPhase()) + internalRemoveFromBroadPhase(); // internalAddToBroadPhase(); Sc::Scene& scene = getScene(); -- cgit v1.2.3