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 @@ -208,7 +208,7 @@ void ImageLoader::drawObjectNodeConfig(){
208208// --------------------------------------------------------------
209209void ImageLoader::removeObjectContent (bool removeFileFromData){
210210 if (removeFileFromData){
211- removeFile (filepath);
211+ // removeFile(filepath);
212212 }
213213}
214214
Original file line number Diff line number Diff line change @@ -524,7 +524,7 @@ void LuaScript::openScript(string scriptFile){
524524 tf.listDir (file.getEnclosingDirectory ());
525525 for (int i = 0 ; i < (int )tf.size (); i++){
526526 ofDirectory ttf (tf.getPath (i));
527- if (ttf.isDirectory ()){
527+ if (ttf.isDirectory () && tf. getName (i) != " data " ){
528528 filesystem::path tpa (this ->patchFolderPath +tf.getName (i)+" /" );
529529 ttf.copyTo (tpa,false ,false );
530530 ttf.listDir ();
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ void VideoPlayer::removeObjectContent(bool removeFileFromData){
431431 video->close ();
432432 }
433433 if (removeFileFromData){
434- removeFile (filepath);
434+ // removeFile(filepath);
435435 }
436436}
437437
You can’t perform that action at this time.
0 commit comments