paperjs/paper.js — Issue #76: Cannot name a new layer
Author: corydodt
Created: 2012-02-24 06:58:53+00:00
State: open

This very simple test fails (error and traceback below).

var l = new Layer();
l.name = "hello";

**this._parent is undefined**
var children = this._parent._children,

setName(name="hello")paper.js (line 1873)
eval()1 (line 2)
(?)()paper.js (line 7764)
evaluate(code=undefined, scope=undefined)paper.js (line 7775)
onreadystatechange()paper.js (line 7789)