Replies: 3 comments 10 replies
-
Let's move this to a discussion — we have a lot of extensions implemented without this error, so until/unless this is reproducible as a clear bug, I'm guessing it will be more of a discussion around extension implementation. |
Beta Was this translation helpful? Give feedback.
-
Can you provide further details so that I can run this code? I'm not sure how to test the issue without a file to read. One red flag I do see, the extension property's init() function cannot be empty. |
Beta Was this translation helpful? Give feedback.
-
Hello ! Got the same problem as well !
t is not a function |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
When calling
setExtension
on e.g. a texture duringread
I'm getting an error caused by_validateParent
not being definedmd TypeError: e.t is not a function at wt.setExtension (file:///C:/git/needle-gltf-extensions/modules/glTF-Transform/packages/core/dist/core.modern.js:1:13709) at C:\git\needle-gltf-extensions\package\dist\extensions\NEEDLE_compression_texture\NEEDLE_compression_texture.js:26:21 at Array.forEach (<anonymous>)
To Reproduce
Steps to reproduce the behavior:
read
get textures and try to add a extension to one of the texturesExpected behavior
no exception, extension is added
Versions:
Additional context
Beta Was this translation helpful? Give feedback.
All reactions