ephysics: support disabling stacking based on Z axis
authorBruno Dilly <bdilly@profusion.mobi>
Thu, 25 Oct 2012 21:55:23 +0000 (21:55 +0000)
committerBruno Dilly <bdilly@profusion.mobi>
Thu, 25 Oct 2012 21:55:23 +0000 (21:55 +0000)
commit829065f97ad506fc5daf12f301a964a68290f6ac
treead6ea04fd8bb7d9f8b80540c14a9c5accbd15ca2
parent651b562ebd94d1d738dc1aed9534f4f6184cccaa
ephysics: support disabling stacking based on Z axis

Since now we support movement on Z axis the evas objects
associated to bodies need to be re-stacked to be below / above
each other.

But if Z axis movement is disabled, no cloth is used, ...,
it can be safely disabled, since evas objects won't overlap.
And it will save performance.

SVN revision: 78491
legacy/ephysics/src/lib/EPhysics.h
legacy/ephysics/src/lib/ephysics_world.cpp