Fix crash in MxStillPresenter::Clone

This commit is contained in:
Misha 2024-03-15 14:05:18 -04:00
parent e441ed15b7
commit 03428a2ac2
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8

View File

@ -231,7 +231,7 @@ MxStillPresenter* MxStillPresenter::Clone()
if (presenter) { if (presenter) {
if (presenter->AddToManager() == SUCCESS) { if (presenter->AddToManager() == SUCCESS) {
MxDSAction* action = presenter->GetAction()->Clone(); MxDSAction* action = GetAction()->Clone();
if (action && presenter->StartAction(NULL, action) == SUCCESS) { if (action && presenter->StartAction(NULL, action) == SUCCESS) {
presenter->SetBit0(GetBit0()); presenter->SetBit0(GetBit0());