Permalink
Browse files

fix undoing changes in gravity mask

  • Loading branch information...
n1kolasM authored and jacob1 committed Jan 18, 2018
1 parent 257fe6f commit 30b8078ad213afb7828788b21a5011f8dc786e3d
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/simulation/Simulation.cpp
@@ -485,6 +485,7 @@ void Simulation::Restore(const Snapshot & snap)
std::copy(snap.GravValue.begin(), snap.GravValue.end(), gravp);
std::copy(snap.GravMap.begin(), snap.GravMap.end(), gravmap);
}
gravWallChanged = true;
std::copy(snap.BlockMap.begin(), snap.BlockMap.end(), &bmap[0][0]);
std::copy(snap.ElecMap.begin(), snap.ElecMap.end(), &emap[0][0]);
std::copy(snap.FanVelocityX.begin(), snap.FanVelocityX.end(), &fvx[0][0]);

0 comments on commit 30b8078

Please sign in to comment.