Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions pdex/src/processing/mode/experimental/ExperimentalMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,6 @@ public Runner handleTweakPresentOrRun(Sketch sketch, RunnerListener listener, bo
final DebugEditor editor = (DebugEditor)listener;
final boolean toPresent = present;

if (!verifyOscP5()) {
editor.deactivateRun();
return null;
}

boolean launchInteractive = false;

if (isSketchModified(sketch)) {
Expand Down Expand Up @@ -449,21 +444,6 @@ public void run() {
return null;
}

private boolean verifyOscP5()
{
for (Library l : contribLibraries) {
if (l.getName().equals("oscP5")) {
return true;
}
}

// could not find oscP5 library
Base.showWarning("Tweak Mode", "Tweak Mode needs the 'oscP5' library.\n"
+ "Please install this library by clicking \"Sketch --> Import Library --> Add Library ...\" and choose 'ocsP5'", null);

return false;
}

private boolean isSketchModified(Sketch sketch)
{
for (SketchCode sc : sketch.getCode()) {
Expand Down