| changeset 475 | e3537f6de112 |
| parent 467 | fd2b5a7ec356 |
--- a/client/js/renderer/shapebuilder.js Wed Jun 10 16:00:16 2015 +0200 +++ b/client/js/renderer/shapebuilder.js Wed Jun 10 16:00:45 2015 +0200 @@ -76,7 +76,10 @@ return new paper.Path.RegularPolygon([0,0], 3, 1); }, getImageShape: function(center, radius) { - return new paper.Path.RegularPolygon(center, 3, radius); + var shape = new paper.Path.RegularPolygon([0,0], 3, 1); + shape.scale(radius); + shape.translate(center); + return shape; } }, "svg": function(path){