File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6198,7 +6198,7 @@ Route::monitoring_state () const
6198
6198
* TODO: FIXME
6199
6199
*/
6200
6200
6201
- if (_session.config .get_punch_in () || _session.config .get_punch_out ()) {
6201
+ if (( _session.config .get_punch_in () || _session.config .get_punch_out ()) && 0 != _session. locations ()-> auto_punch_location ()) {
6202
6202
session_rec = _session.actively_recording ();
6203
6203
} else {
6204
6204
session_rec = _session.get_record_enabled ();
Original file line number Diff line number Diff line change @@ -2288,7 +2288,7 @@ Session::maybe_enable_record (bool rt_context)
2288
2288
2289
2289
if (_transport_fsm->transport_speed () != 0 ) {
2290
2290
maybe_allow_only_punch ();
2291
- if (!config.get_punch_in ()) {
2291
+ if (!config.get_punch_in () || 0 == locations ()-> auto_punch_location () ) {
2292
2292
enable_record ();
2293
2293
}
2294
2294
/* When rolling, start recording immediately.
Original file line number Diff line number Diff line change @@ -521,7 +521,7 @@ Session::start_transport (bool after_loop)
521
521
522
522
switch (record_status ()) {
523
523
case Enabled:
524
- if (!config.get_punch_in ()) {
524
+ if (!config.get_punch_in () || 0 == locations ()-> auto_punch_location () ) {
525
525
/* This is only for UIs (keep blinking rec-en before
526
526
* punch-in, don't show rec-region etc). The UI still
527
527
* depends on SessionEvent::PunchIn and ensuing signals.
You can’t perform that action at this time.
0 commit comments