Home
last modified time | relevance | path

Searched refs:active_snapshot_time (Results 1 – 3 of 3) sorted by relevance

/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/slic3r/Utils/
H A DUndoRedo.cpp226 void save(size_t active_snapshot_time, size_t current_time) { in save() argument
227 assert(m_history.empty() || m_history.back().end() <= active_snapshot_time || in save()
230 if (m_history.empty() || m_history.back().end() < active_snapshot_time) in save()
231 m_history.emplace_back(active_snapshot_time, current_time + 1); in save()
411 assert(m_history.empty() || m_history.back().end() <= active_snapshot_time); in try_save_timestamp()
413 if (m_history.back().end() < active_snapshot_time) in try_save_timestamp()
417 assert(m_history.back().end() == active_snapshot_time); in try_save_timestamp()
428 assert(m_history.empty() || m_history.back().end() <= active_snapshot_time); in save()
429 if (m_history.empty() || m_history.back().end() < active_snapshot_time) { in save()
438 assert(m_history.back().end() == active_snapshot_time); in save()
[all …]
H A DUndoRedo.hpp128 size_t active_snapshot_time() const;
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/slic3r/GUI/
H A DPlater.cpp4500 const size_t active_snapshot_time = this->undo_redo_stack().active_snapshot_time(); in get_active_snapshot_index() local
4502 … it = std::lower_bound(ss_stack.begin(), ss_stack.end(), UndoRedo::Snapshot(active_snapshot_time)); in get_active_snapshot_index()
4548 …hots.begin(), snapshots.end(), UndoRedo::Snapshot(this->undo_redo_stack().active_snapshot_time())); in undo()
4556 …hots.begin(), snapshots.end(), UndoRedo::Snapshot(this->undo_redo_stack().active_snapshot_time())); in redo()
4626 if (it_snapshot->timestamp < this->undo_redo_stack().active_snapshot_time() ? in undo_redo_to()