tiny bug fix

This commit is contained in:
Joost Nieuwenhuijse 2012-02-13 18:22:22 +01:00
parent 8b51bd6b68
commit 29f3ccf3d1

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();