eachParent
Reported by Salomon BRYS | December 12th, 2010 @ 05:01 PM
The eachParent method does not work as it should.
It "jumps" over the first parent.
Consider this tree
one
|-two |-three
|-four
Calling SceneJS.withNode("four").eachParent(fn); will call fn one the nodes two and one but it forgets the three.
Comments and changes to this ticket
-
Salomon BRYS December 12th, 2010 @ 05:03 PM
Pull request that corrects this bug :
https://github.com/xeolabs/scenejs/pull/28
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
SceneJS provides easy access to WebGL through a simple and declarative JavaScript API. The SceneJS API is functional, which enables its scene definitions to be really compact and expressive, while hooking into other JavaScript code just that little bit more smoothly.