diff --git a/dist/all.js b/dist/all.js index bb71d854..6c95973e 100644 --- a/dist/all.js +++ b/dist/all.js @@ -6388,12 +6388,7 @@ fabric.util.animate = animate; } ctx.beginPath(); - if (this.stub) { - this.stub._render(ctx); - } - else { - this._render(ctx); - } + this._render(ctx); if (this.fill) { ctx.fill(); @@ -6455,9 +6450,6 @@ fabric.util.animate = animate; }, set: function(prop, value) { - if (this.stub) { - this.stub.set(prop, value) - } return this.callSuper('set', prop, value); }, diff --git a/src/path.class.js b/src/path.class.js index 67d08a2a..ef892250 100644 --- a/src/path.class.js +++ b/src/path.class.js @@ -282,13 +282,7 @@ } ctx.beginPath(); - // stubbb !!! - if (this.stub) { - this.stub._render(ctx); - } - else { - this._render(ctx); - } + this._render(ctx); if (this.fill) { ctx.fill(); @@ -350,9 +344,6 @@ }, set: function(prop, value) { - if (this.stub) { - this.stub.set(prop, value) - } return this.callSuper('set', prop, value); },