From a2fe5c8fbd646a371cbd67c05bb262c6096bba40 Mon Sep 17 00:00:00 2001 From: Kyle Harrington Date: Sat, 20 Jan 2024 09:51:37 -0500 Subject: [PATCH] Update menuweight for flybrain --- src/main/kotlin/sc/iview/commands/MenuWeights.kt | 1 + .../sc/iview/commands/demo/advanced/LoadFlybrainOutOfCore.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/sc/iview/commands/MenuWeights.kt b/src/main/kotlin/sc/iview/commands/MenuWeights.kt index 7bb31c0c..9f3d30e9 100644 --- a/src/main/kotlin/sc/iview/commands/MenuWeights.kt +++ b/src/main/kotlin/sc/iview/commands/MenuWeights.kt @@ -116,6 +116,7 @@ object MenuWeights { // Demo/Advanced const val DEMO_ADVANCED_SEGMENTATION = 0.0 const val DEMO_ADVANCED_CREMI = 1.0 + const val DEMO_ADVANCED_FLYBRAIN = 1.5 const val DEMO_ADVANCED_BDVSLICING = 2.0 const val DEMO_ADVANCED_MESHTEXTURE = 3.0 // Help diff --git a/src/main/kotlin/sc/iview/commands/demo/advanced/LoadFlybrainOutOfCore.kt b/src/main/kotlin/sc/iview/commands/demo/advanced/LoadFlybrainOutOfCore.kt index 46b92049..4086fa09 100644 --- a/src/main/kotlin/sc/iview/commands/demo/advanced/LoadFlybrainOutOfCore.kt +++ b/src/main/kotlin/sc/iview/commands/demo/advanced/LoadFlybrainOutOfCore.kt @@ -66,7 +66,7 @@ Based on Ulrik and Tobi's flybrain example from scenery menuRoot = "SciView", menu = [Menu(label = "Demo", weight = MenuWeights.DEMO), Menu(label = "Advanced", weight = MenuWeights.DEMO_ADVANCED), - Menu(label = "Load Flybrain Out-of-Core demo", weight = MenuWeights.DEMO_ADVANCED_CREMI)]) + Menu(label = "Load Flybrain Out-of-Core demo", weight = MenuWeights.DEMO_ADVANCED_FLYBRAIN)]) class LoadFlybrainOutOfCore : Command { @Parameter private lateinit var sciview: SciView