From 1a9f37a0a6562aabd3cfcb7a1d3846142f09b7ce Mon Sep 17 00:00:00 2001 From: Dan Bumbarger Date: Sun, 1 Dec 2024 16:02:16 -0800 Subject: [PATCH] Update 3dviewer.js BugFix issue 2269 BugFix issue 2269 where the active node was being highlighted even when it was set not to highlighted under several circumstances. --- django/applications/catmaid/static/js/widgets/3dviewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/applications/catmaid/static/js/widgets/3dviewer.js b/django/applications/catmaid/static/js/widgets/3dviewer.js index 2323aa61c8..4d66f8e3ee 100644 --- a/django/applications/catmaid/static/js/widgets/3dviewer.js +++ b/django/applications/catmaid/static/js/widgets/3dviewer.js @@ -2154,7 +2154,7 @@ var activeNodeDisplayed = activeNode.mesh.visible; var activeNodeSelected = !!SkeletonAnnotations.getActiveNodeId(); - activeNode.setVisible(activeNodeSelected); + activeNode.setVisible(activeNodeDisplayed && activeNodeSelected); activeNode.updatePosition(this.space, this.options); if (activeNode.mesh.visible && this.options.follow_active) {