mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Fix class doesn't exist error.
This commit is contained in:
parent
0a3ddf1162
commit
bb955630fc
@ -269,7 +269,7 @@ _global_script_classes=[ {
|
||||
"language": "GDScript",
|
||||
"path": "res://voxelman/world/TVVoxelMesher.gd"
|
||||
}, {
|
||||
"base": "VoxelMesherUVTransvoxel",
|
||||
"base": "VoxelMesherMarchingCubes",
|
||||
"class": "TestVoxelMesher",
|
||||
"language": "GDScript",
|
||||
"path": "res://voxelman/world/TestVoxelMesher.gd"
|
||||
|
@ -1,4 +1,4 @@
|
||||
extends VoxelMesherUVTransvoxel
|
||||
extends VoxelMesherMarchingCubes
|
||||
class_name TestVoxelMesher
|
||||
|
||||
# Copyright Péter Magyar relintai@gmail.com
|
||||
@ -388,7 +388,7 @@ func _add_chunk(buffer : VoxelChunk) -> void:
|
||||
|
||||
var regular_cell_class : int = get_regular_cell_class(case_code)
|
||||
|
||||
var cell_data : TransvoxelCellData = get_regular_cell_data(regular_cell_class)
|
||||
var cell_data : MarchingCubesCellData = get_regular_cell_data(regular_cell_class)
|
||||
|
||||
var index_count : int = cell_data.get_triangle_count() * 3
|
||||
var vertex_count : int = cell_data.get_vertex_count()
|
||||
|
Loading…
Reference in New Issue
Block a user