Added symmetry to preview

This commit is contained in:
Devine Lu Linvega
2018-04-16 16:36:20 +12:00
parent 932b5af7c7
commit 6fe5a91799
2 changed files with 3 additions and 3 deletions

View File

@@ -164,9 +164,9 @@ function Tool()
return this.verteces.length >= this.reqs[type];
}
this.path = function(layer_id = 0)
this.path = function(layer_id = 0, preview = null)
{
var layer = this.layers[layer_id];
var layer = preview ? preview : this.layers[layer_id];
var html = "";
for(id in layer){