template<structure::arrangement::FinalArrangerObjectSubclass ObjectT>
class zrythm::commands::AddArrangerObjectCommand< ObjectT >
Definition at line 18 of file add_arranger_object_command.h.
template<structure::arrangement::FinalArrangerObjectSubclass ObjectT>
Initial value: =
(std::is_same_v<ObjectT, structure::arrangement::TempoObject>
|| std::is_same_v<ObjectT, structure::arrangement::TimeSignatureObject>)
? 1762954668
: -1
QUndoCommand id for this addition.
Tempo/time-signature object specializations evaluate to a distinct id so the undo stack can recognize them and pause the audio engine before running the command — the tempo map's RT-side data must not change while the audio thread is processing. All other object types have no id (-1), which is QUndoCommand's default for "no special handling".
Definition at line 30 of file add_arranger_object_command.h.