Skip to content

Commit e7b6a18

Browse files
committed
avoid dsp activation error on xml patch document reading fail
1 parent 9ea2c43 commit e7b6a18

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/ofxVisualProgramming.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,11 +1372,12 @@ void ofxVisualProgramming::loadPatch(string patchFile){
13721372
}
13731373
}
13741374
}
1375-
}
13761375

1377-
#if !defined(TARGET_WIN32)
1378-
activateDSP();
1379-
#endif
1376+
#if !defined(TARGET_WIN32)
1377+
activateDSP();
1378+
#endif
1379+
1380+
}
13801381

13811382
bLoadingNewPatch = false;
13821383

0 commit comments

Comments
 (0)