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

TypeError: Cannot read property 'parents' of undefined #240

Open
liyihongcug opened this issue Feb 26, 2019 · 3 comments
Open

TypeError: Cannot read property 'parents' of undefined #240

liyihongcug opened this issue Feb 26, 2019 · 3 comments

Comments

@liyihongcug
Copy link

TypeError: Cannot read property 'parents' of undefined
O r TypeError: Cannot read property '0' of undefine

@lasalvavida
Copy link
Contributor

@liyihongcug, could you elaborate a bit here?

When are you getting this error? What model are you converting?

What are you using here since that looks like a JavaScript error and this is a c++ project?

@liyihongcug
Copy link
Author

liyihongcug commented Feb 28, 2019

I describe this problem.
I use COLLADA2GLTF to transform my dae file to gltf file. The dae file is created in 3dmax2018 by me.
The dae file is good and can be opened successfully in opengl assimp.
When I transform my dae file to gltf file, I get the null conten in result gltf file.

I put up this model in cesium and it don't work.
{
"asset": {
"generator": "COLLADA2GLTF",
"version": "2.0"
},
"scenes": [
{
"nodes": []
}
],
"scene": 0
}

@lasalvavida
Copy link
Contributor

Okay, please attach your COLLADA model here so I can take a look.

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