Skip to content

Commit

Permalink
new "generate kd tree" icon
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldsteinlechner committed Dec 16, 2024
1 parent 4b28240 commit d998b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PRo3D.Core/Surface/SurfaceApp.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ module SurfaceApp =
|> UI.wrapToolTip DataPosition.Bottom "Toggle IsActive"

yield
i [ clazz "exclamation circle icon"; onEvent "generate" [] (fun _ -> RebuildKdTrees key)
i [ clazz "sitemap icon"; onEvent "generate" [] (fun _ -> RebuildKdTrees key)
// kdTreeRebuildOptions is in utilities.js
clientEvent "onclick" "top.aardvark.dialog.showMessageBox(null, kdTreeRebuildOptions).then((r) => { console.warn(r.response); if(r.response == 1) { aardvark.processEvent('__ID__', 'generate');} else { console.warn('user cancelled kdtree construction.'); } });" ] []
|> UI.wrapToolTip DataPosition.Bottom "rebuild kdTree"
Expand Down

0 comments on commit d998b76

Please sign in to comment.