1
0
Fork 0

🚧 Work on sampling

This commit is contained in:
Joost De Cock 2018-08-10 14:25:26 +02:00
parent 15f947a399
commit 513e29dac6
2 changed files with 48 additions and 40 deletions

View file

@ -157,7 +157,7 @@ Path.prototype.boundary = function() {
/** Returns a deep copy of this */
Path.prototype.clone = function() {
let clone = new Path();
clone.render = this.render = true;
clone.render = this.render;
if (this.topLeft) clone.topLeft = this.topLeft.clone();
else clone.topLeft = false;
if (this.bottomRight) clone.bottomRight = this.bottomRight.clone();