small fixes and cosmetic changes
This commit is contained in:
@@ -79,6 +79,9 @@ void CpuSynchronizer::synchronize(DynamicDensityField* field,
|
||||
if (reset) {
|
||||
density_for_drawing->time_in_bin_s_ = field->time_in_bin_s_;
|
||||
density_for_drawing->deleted_particles_ = field->deleted_particles_;
|
||||
// try setting the distribution for drawing the density here, since ideally it
|
||||
// the density array and the distribution only have to be set once
|
||||
density_for_drawing->setDensityDistribution();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user