Skip to content

Recompiled with fixed GLVis - #38

Merged
najlkin merged 2 commits into
masterfrom
ci-build-29970176793
Oct 16, 2026
Merged

najlkin merged 2 commits into
masterfrom
ci-build-29970176793

Conversation

@najlkin

@najlkin najlkin commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Follows the fixes done in GLVis/web#26 :

@najlkin najlkin self-assigned this Jul 23, 2026
@najlkin najlkin added the bug Something isn't working label Jul 23, 2026
@najlkin
najlkin requested a review from tzanio July 23, 2026 02:48
@najlkin
najlkin requested a review from camierjs July 23, 2026 02:54
@najlkin

najlkin commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Question, should we bump up the version and tag this after merging as v5.2? 🤔

@najlkin

najlkin commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

ping @tzanio , @camierjs - can we move forward here so glvis 4.5 can be deployed live on the pages? It has been a while since the release 😄

@tzanio

tzanio commented Oct 16, 2026

Copy link
Copy Markdown
Member

🤖 Suggestions from an AI review. Feel free to ignore if not relevant.

The rebuilt glvis.js includes a regression introduced after GLVis v4.5 by GLVis/glvis#366.

In ArrowsDrawOrNot, the new arrows_nl == nl guard skips filling the vertex lists when the number of levels is unchanged. However, PrepareVectorField allocates fresh lists on every call. After the first rebuild, those lists remain empty and no arrows are drawn in vector mode 4.

Suggested reproduction:

  1. Load a 3D vector field.
  2. Enter vector mode 4.
  3. Move/add vector levels with u/w, or cycle through the vector modes and return to mode 4.

Suggested fix: remove the cache guard upstream, then rebuild glvis.js before merging.

This regression is absent from the original GLVis v4.5 release and is unrelated to the JavaScript resize change.

Identified by static inspection; browser reproduction has not been run.

@najlkin

najlkin commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

That AI tunneled it to all the way GLVis 😳 🚀 . I think it is not a new bug, I just conservatively replaced the caching by a static variable by a structure, but it is possible I conserved a bug that way 😁 . Anyway, I think it is relatively minor and let us keep that for GLVis for later. The difference from the release version should stay minimal and it would mix with other things in master...

@najlkin
najlkin merged commit c2dfac7 into master Oct 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants