# | Line 75 | Line 75 | TimeCorrFunc::TimeCorrFunc(SimInfo* info, const std::s | |
---|---|---|
75 | storageLayout_ |= DataStorage::dslAngularMomentum; | |
76 | } | |
77 | } | |
78 | + | if(nRigidBodies > 0 && storageLayout_ & DataStorage::dslVelocity) { |
79 | + | storageLayout_ |= DataStorage::dslAngularMomentum; |
80 | + | } |
81 | ||
82 | bsMan_ = new BlockSnapshotManager(info, dumpFilename_, storageLayout_); | |
83 | info_->setSnapshotManager(bsMan_); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |