Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extending Array prototype creates error #46

Closed
ghost opened this issue Jan 13, 2014 · 1 comment
Closed

Extending Array prototype creates error #46

ghost opened this issue Jan 13, 2014 · 1 comment
Milestone

Comments

@ghost
Copy link

ghost commented Jan 13, 2014

Whenever I try to extend the Array prototype the following error repeatedly occurs:

TypeError: Cannot call method 'getProgram' of undefined
    at XML3D.extend.renderObjectsToActiveBuffer (http://localhost:8080/xml3d/js/xml3d-4.5.1.js:23663:46)
    at XML3D.extend.renderScene (http://localhost:8080/xml3d/js/xml3d-4.5.1.js:23622:26)
    at XML3D.extend.renderToCanvas (http://localhost:8080/xml3d/js/xml3d-4.5.1.js:23145:39)
    at CanvasHandler.draw (http://localhost:8080/xml3d/js/xml3d-4.5.1.js:19319:39)
    at tick (http://localhost:8080/xml3d/js/xml3d-4.5.1.js:19220:22) 
@lachsen
Copy link
Contributor

lachsen commented Oct 29, 2014

In one point of the code we used an array when we wanted to use an object.
I fixed this now, so this issue should be solved.

@lachsen lachsen closed this as completed Oct 29, 2014
@ksons ksons added this to the 4.8 Release milestone Dec 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants