Fixed issue with copy/paste of symmetrized objects
This commit is contained in:
parent
2426c18295
commit
0cf0b05829
@ -193,16 +193,16 @@ function Tool()
|
|||||||
|
|
||||||
this.paths = function()
|
this.paths = function()
|
||||||
{
|
{
|
||||||
var l1 = new Generator(dotgrid.tool.layers[0]).toString({x:0,y:0},1)
|
var l1 = new Generator(dotgrid.tool.layers[0],dotgrid.tool.styles[0]).toString({x:0,y:0},1)
|
||||||
var l2 = new Generator(dotgrid.tool.layers[1]).toString({x:0,y:0},1)
|
var l2 = new Generator(dotgrid.tool.layers[1],dotgrid.tool.styles[1]).toString({x:0,y:0},1)
|
||||||
var l3 = new Generator(dotgrid.tool.layers[2]).toString({x:0,y:0},1)
|
var l3 = new Generator(dotgrid.tool.layers[2],dotgrid.tool.styles[2]).toString({x:0,y:0},1)
|
||||||
|
|
||||||
return [l1,l2,l3]
|
return [l1,l2,l3]
|
||||||
}
|
}
|
||||||
|
|
||||||
this.path = function()
|
this.path = function()
|
||||||
{
|
{
|
||||||
return new Generator(dotgrid.tool.layer()).toString({x:0,y:0},1)
|
return new Generator(dotgrid.tool.layer(),dotgrid.tool.style()).toString({x:0,y:0},1)
|
||||||
}
|
}
|
||||||
|
|
||||||
this.translate = function(a,b)
|
this.translate = function(a,b)
|
||||||
|
Loading…
Reference in New Issue
Block a user