diff options
Diffstat (limited to 'PhysX_3.4/Source/PhysX/src/buffering/ScbShape.cpp')
| -rw-r--r-- | PhysX_3.4/Source/PhysX/src/buffering/ScbShape.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/PhysX_3.4/Source/PhysX/src/buffering/ScbShape.cpp b/PhysX_3.4/Source/PhysX/src/buffering/ScbShape.cpp index 445557ec..9814e4ba 100644 --- a/PhysX_3.4/Source/PhysX/src/buffering/ScbShape.cpp +++ b/PhysX_3.4/Source/PhysX/src/buffering/ScbShape.cpp @@ -118,10 +118,7 @@ void Scb::Shape::syncState() flush<Buf::BF_Shape2Actor>(buffer); flush<Buf::BF_SimulationFilterData>(buffer); - - if(isBuffered(Buf::BF_ContactOffset)) - mShape.setContactOffset(buffer.mContactOffset); - + flush<Buf::BF_ContactOffset>(buffer); flush<Buf::BF_RestOffset>(buffer); flush<Buf::BF_Flags>(buffer); |