add ability to switch between flat/fast and shiny/slow slice render methods
This commit is contained in:
parent
5005bc9a0e
commit
a8bbedf435
5 changed files with 19 additions and 2 deletions
|
|
@ -80,7 +80,7 @@ function create(name, view) {
|
|||
}
|
||||
const stack = stacks[name] = {
|
||||
layers: [ ],
|
||||
obj: new kiri.Stack(view, freeMem),
|
||||
obj: new kiri.Stack(view, freeMem, kiri.api.conf.get().controller.shiny),
|
||||
add: function(layers) {
|
||||
let lmap = layers.layers;
|
||||
let map = stack.obj.addLayers(layers);
|
||||
|
|
|
|||
Loading…
Reference in a new issue