From 63c4301c506c7a78701bf570901160cea2524bcc Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Tue, 22 May 2012 00:14:50 -0700 Subject: Maintain I/O webGL mode fix Keeping data in-file if a data tag is detected. --- js/mediators/io-mediator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/mediators/io-mediator.js b/js/mediators/io-mediator.js index e04670fd..e9ed86d7 100644 --- a/js/mediators/io-mediator.js +++ b/js/mediators/io-mediator.js @@ -486,7 +486,7 @@ exports.IoMediator = Montage.create(Component, { if (template.webgl && template.webgl.length > 1) {//TODO: Should be length 0, hack for a temp fix var rdgeDirName, rdgeVersion, cvsDataDir = this.getCanvasDirectory(template.file.root), fileCvsDir, fileCvsDirAppend, cvsDirCounter = 1; // - if (cvsDataDir) { + if (cvsDataDir && !matchingtags.length) { fileCvsDir = cvsDataDir+template.file.name.split('.'+template.file.extension)[0]; if (!this._getUserDirectory(fileCvsDir)) { fileCvsDirAppend = fileCvsDir+cvsDirCounter; -- cgit v1.2.3