}
}
+#ifdef STATE_MANAGER
UndoAction
IO::get_memento() const
{
StateManager::State* state = new StateManager::State (why);
return state;
}
+#endif
/**
Update the peak meters.
}
}
+#ifdef STATE_MANAGER
_gain_automation_curve.save_state (_("loaded from disk"));
+#endif
return 0;
}
if (_gain_automation_curve.automation_state() != Off) {
+#ifdef STATE_MANAGER
if (gain_automation_recording()) {
_gain_automation_curve.save_state (_("automation write/touch"));
}
+#endif
/* the src=0 condition is a special signal to not propagate
automation gain changes into the mix group when locating.