| 771 | } |
| 772 | |
| 773 | bool PersistentActorAggregatePair::update(AABBManager& manager, BpCacheData* data) |
| 774 | { |
| 775 | if(mShouldBeDeleted || shouldPairBeDeleted(manager.mGroups, mAggregateHandle, mActorHandle)) |
| 776 | return true; |
| 777 | |
| 778 | if(!mAggregate->getNbAggregated()) // PT: needed with lazy empty actors |
| 779 | return true; |
| 780 | |
| 781 | if(mAggregate->isDirty() || manager.mChangedHandleMap.boundedTest(mActorHandle)) |
| 782 | manager.updatePairs(*this, data); |
| 783 | |
| 784 | return false; |
| 785 | } |
| 786 | |
| 787 | ///// |
| 788 |
no test coverage detected