Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/Action_SetVelocity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,7 @@ Action::RetType Action_SetVelocity::Setup(ActionSetup& setup) {

// Action_SetVelocity::DoAction()
Action::RetType Action_SetVelocity::DoAction(int frameNum, ActionFrame& frm) {
std::copy( frm.Frm().xAddress(), frm.Frm().xAddress() + frm.Frm().size(), newFrame_.xAddress() );
if (frm.Frm().HasVelocity())
std::copy( frm.Frm().vAddress(), frm.Frm().vAddress() + frm.Frm().size(),
newFrame_.vAddress() );
newFrame_.SetFrame( frm.Frm() );
if (mode_ == ZERO) {
for (AtomMask::const_iterator atom = Mask_.begin(); atom != Mask_.end(); ++atom)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Whenever a number that precedes <revision> is incremented, all subsequent
* numbers should be reset to 0.
*/
#define CPPTRAJ_INTERNAL_VERSION "V7.8.0"
#define CPPTRAJ_INTERNAL_VERSION "V7.9.0"
/// PYTRAJ relies on this
#define CPPTRAJ_VERSION_STRING CPPTRAJ_INTERNAL_VERSION
#endif
Loading