paperjs/paper.js — Issue #79: Can't set layer name
Author: kodi
Created: 2012-03-02 11:40:51+00:00
State: open

Hi,

I grabbed latest paper.js code from github. and I'm trying to set a name for a layer

var layerA = new paper.Layer();
console.log(layerA.setName('My Layer'));

fails with:

paper.js:1873 Uncaught TypeError: Cannot read property '_children' of undefined

it's same when i try to set it via
layerA.name = 'My Layer';

Am I doing something wrong?