[General] MathUuidBak.js
Philip Weaver
philmaker at gmail.com
Sat Apr 18 02:15:05 CEST 2009
Oh, and the cause was that the clip counter always started at zero each time
a world is loaded.
On Fri, Apr 17, 2009 at 7:12 PM, Philip Weaver <philmaker at gmail.com> wrote:
> In the meantime, I've being using this tweak locally. But I haven't delved
> into the underlying reason why a separate clipCounter was being used for
> clip ids.
>
> lively.scene.Clip.addMethods({
> initialize : function(shape) {
> this.rawNode = NodeFactory.create('clipPath');
> //this.setId(String(this.constructor.clipCounter ++));
> this.setId(this.newId());
> this.setClipShape(shape);
> }
> });
>
> Phil
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://livelykernel.sunlabs.com/pipermail/general/attachments/20090417/8e71e932/attachment.html
More information about the lively-kernel
mailing list