Skip to content

Commit

Permalink
Merge pull request #1781 from xeokit/fix/XEOK-185
Browse files Browse the repository at this point in the history
XEOK-185: Lines are not clipped by SectionPlanes
  • Loading branch information
xeolabs authored Jan 21, 2025
2 parents a9f333a + f370b48 commit 1fb4311
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ class VBOInstancingLinesLayer {

let pickFlag = (visible && !culled && pickable) ? RENDER_PASSES.PICK : RENDER_PASSES.NOT_RENDERED;

const clippableFlag = !!(flags & ENTITY_FLAGS.CLIPPABLE) ? 255 : 0;
const clippableFlag = !!(flags & ENTITY_FLAGS.CLIPPABLE) ? 1 : 0;

let vertFlag = 0;
vertFlag |= colorFlag;
Expand Down

0 comments on commit 1fb4311

Please sign in to comment.