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

Filters not working ("layerTmp.cppMesh.pushState is not a function") #149

Open
krokicki opened this issue Mar 7, 2023 · 0 comments
Open

Comments

@krokicki
Copy link

krokicki commented Mar 7, 2023

After loading an OBJ file it renders nicely, but when I try any of the filters, nothing happens. In particular I want to use some of the sampling filters, such as Poisson Disk Sampling, but I see the errors even with Clamp Vertex Quality and other filters.

In the developer console I see exceptions like this:

Uncaught TypeError: layerTmp.cppMesh.pushState is not a function
    addStateToHistory http://www.meshlabjs.net/js/mlj/core/Scene.js:154
    onloadend http://www.meshlabjs.net/js/mlj/core/File.js:100
    loadMeshDataFromFile http://www.meshlabjs.net/js/mlj/core/File.js:78
    reloadMeshFile http://www.meshlabjs.net/js/mlj/core/File.js:176
    init http://www.meshlabjs.net/js/mlj/gui/SceneBar.js:232
    onClick http://www.meshlabjs.net/js/mlj/gui/Component.js:293
    jQuery 2
Scene.js:154:38
    addStateToHistory http://www.meshlabjs.net/js/mlj/core/Scene.js:154
    onloadend http://www.meshlabjs.net/js/mlj/core/File.js:100
    (Async: EventHandlerNonNull)
    loadMeshDataFromFile http://www.meshlabjs.net/js/mlj/core/File.js:78
    reloadMeshFile http://www.meshlabjs.net/js/mlj/core/File.js:176
    init http://www.meshlabjs.net/js/mlj/gui/SceneBar.js:232
    onClick http://www.meshlabjs.net/js/mlj/gui/Component.js:293
    jQuery 2

Another common one:

Uncaught TypeError: layerTmp.cppMesh.Clear is not a function
    _main http://www.meshlabjs.net/js/mlj/core/plugin/Filter.js:150
    onClick http://www.meshlabjs.net/js/mlj/gui/Component.js:293
    jQuery 2
Filter.js:150:34

I tried both Firefox 109.0.1 and Chrome 110.0.5481.177 with the same results. I'm using macOS 12.6

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

1 participant