mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-01 01:59:33 +00:00
Fix biome noise visualizer
This commit is contained in:
@@ -74,7 +74,7 @@ const treeViewNodeInjector = (path: ModelPath, view: TreeView) => {
|
||||
})
|
||||
.join('')
|
||||
if (views.visualizer.active && views.visualizer.visualizer?.getName() === 'biome-noise') {
|
||||
if (path.startsWith(new Path(['generator', 'biome_source', 'biomes'])) && path.getArray().length === 4) {
|
||||
if (path.pop().endsWith(new Path(['generator', 'biome_source', 'biomes']))) {
|
||||
const biomeVisualizer = views.visualizer.visualizer as BiomeNoiseVisualizer
|
||||
const biome = path.push('biome').get()
|
||||
const id = view.registerChange(el => {
|
||||
|
||||
Reference in New Issue
Block a user