Skip to content

Commit 351771b

Browse files
committed
removed reference to processing scripts
1 parent e31ae24 commit 351771b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ofxVisualProgramming.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ void ofxVisualProgramming::update(){
196196
// remove scripts objects filepath reference from scripts objects files map
197197
ofFile tempsofp(patchObjects.at(eraseIndexes.at(x))->getFilepath());
198198
string fileExt = ofToUpper(tempsofp.getExtension());
199-
if(fileExt == "LUA" || fileExt == "PY" || fileExt == "SH" || fileExt == "JAVA" || fileExt == "FRAG"){
199+
if(fileExt == "LUA" || fileExt == "PY" || fileExt == "SH" || fileExt == "FRAG"){
200200
map<string,string>::iterator sofpIT = scriptsObjectsFilesPaths.find(tempsofp.getFileName());
201201
if (sofpIT != scriptsObjectsFilesPaths.end()){
202202
// found it, remove it
@@ -231,7 +231,7 @@ void ofxVisualProgramming::update(){
231231
// update scripts objects files map
232232
ofFile tempsofp(patchObjects[leftToRightIndexOrder[i].second]->getFilepath());
233233
string fileExt = ofToUpper(tempsofp.getExtension());
234-
if(fileExt == "LUA" || fileExt == "PY" || fileExt == "SH" || fileExt == "JAVA" || fileExt == "FRAG"){
234+
if(fileExt == "LUA" || fileExt == "PY" || fileExt == "SH" || fileExt == "FRAG"){
235235
map<string,string>::iterator sofpIT = scriptsObjectsFilesPaths.find(tempsofp.getFileName());
236236
if (sofpIT == scriptsObjectsFilesPaths.end()){
237237
// not found, insert it
@@ -438,7 +438,7 @@ void ofxVisualProgramming::cleanPatchDataFolder(){
438438
// not found in patch scripts map, remove it from patch data folder
439439
//ofLog(OF_LOG_NOTICE,"%s",dir.getFile(i).getAbsolutePath().c_str());
440440
string fileExt = ofToUpper(dir.getFile(i).getExtension());
441-
if(fileExt == "PY" || fileExt == "SH" || fileExt == "JAVA" || fileExt == "FRAG"){
441+
if(fileExt == "PY" || fileExt == "SH" || fileExt == "FRAG"){
442442
dir.getFile(i).remove();
443443
}
444444
// remove if filename is empty

0 commit comments

Comments
 (0)