diff --git a/bin/run_julia b/bin/run_julia index 7546f7f..de4c201 100755 --- a/bin/run_julia +++ b/bin/run_julia @@ -31,8 +31,8 @@ branch=$(git rev-parse --abbrev-ref HEAD) if test -f "bin/kps-image-${julia_major}-${branch}.so"; then echo "Found system image!" - julia -J bin/kps-image-${julia_major}-${branch}.so -t $FAST_CORES,1 $GCT --project + julia -J bin/kps-image-${julia_major}-${branch}.so -t $FAST_CORES,1 $GCT --project -i -e "using KiteViewers" else - julia --project -t $FAST_CORES,1 $GCT + julia --project -t $FAST_CORES,1 $GCT -i -e "using KiteViewers" # julia --project fi diff --git a/examples/menu.jl b/examples/menu.jl index b281722..8492691 100644 --- a/examples/menu.jl +++ b/examples/menu.jl @@ -12,7 +12,7 @@ options = ["basic_1p = include(\"basic_1p.jl\")", "steering_bench_video = include(\"steering_bench_video.jl\")", "quit"] -function menu() +function example_menu() active = true while active menu = RadioMenu(options, pagesize=8) @@ -27,4 +27,4 @@ function menu() end end -menu() \ No newline at end of file +example_menu() \ No newline at end of file diff --git a/src/KiteViewers.jl b/src/KiteViewers.jl index 132509b..8b64344 100644 --- a/src/KiteViewers.jl +++ b/src/KiteViewers.jl @@ -3,7 +3,8 @@ module KiteViewers using PrecompileTools: @setup_workload, @compile_workload using GeometryBasics, Rotations, GLMakie, FileIO, LinearAlgebra, Printf, Parameters, Reexport import GeometryBasics:Point3f, GeometryBasics.Point2f -using KiteUtils, Pkg +@reexport using KiteUtils +using Pkg export Viewer3D, AbstractKiteViewer, AKV # types export clear_viewer, update_system, save_png, stop, pause, set_status # functions