tiny bug fix

gh-pages
Joost Nieuwenhuijse 2012-02-13 18:22:22 +01:00
parent 8b51bd6b68
commit 29f3ccf3d1
1 changed files with 3 additions and 3 deletions

View File

@ -524,10 +524,10 @@ OpenJsCad.Processor.prototype = {
if(this.hasstl)
{
this.hasstl = false;
if(that.stlDirEntry)
if(this.stlDirEntry)
{
that.stlDirEntry.removeRecursively();
that.stlDirEntry=null;
this.stlDirEntry.removeRecursively();
this.stlDirEntry=null;
}
this.enableItems();
if(this.onchange) this.onchange();