From 9f0845759fd7cfd6cd7df8d3f27194ded850dc33 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Thu, 25 Apr 2019 00:57:18 +0100 Subject: [PATCH] Fix binding of VoxelIsoSurfaceTool::do_heightmap() --- voxel_isosurface_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voxel_isosurface_tool.cpp b/voxel_isosurface_tool.cpp index 58f8d4d..09ccc10 100644 --- a/voxel_isosurface_tool.cpp +++ b/voxel_isosurface_tool.cpp @@ -166,7 +166,7 @@ void VoxelIsoSurfaceTool::_bind_methods() { ClassDB::bind_method(D_METHOD("do_sphere", "center", "radius", "op"), &VoxelIsoSurfaceTool::do_sphere, DEFVAL(OP_ADD)); ClassDB::bind_method(D_METHOD("do_plane", "plane", "op"), &VoxelIsoSurfaceTool::do_plane, DEFVAL(OP_ADD)); ClassDB::bind_method(D_METHOD("do_cube", "transform", "extents", "op"), &VoxelIsoSurfaceTool::do_cube, DEFVAL(OP_ADD)); - ClassDB::bind_method(D_METHOD("do_heightmap", "heightmap", "offset", "vertical_scale", "op"), &VoxelIsoSurfaceTool::do_cube, DEFVAL(OP_ADD)); + ClassDB::bind_method(D_METHOD("do_heightmap", "heightmap", "offset", "vertical_scale", "op"), &VoxelIsoSurfaceTool::do_heightmap, DEFVAL(OP_ADD)); BIND_ENUM_CONSTANT(OP_ADD); BIND_ENUM_CONSTANT(OP_SUBTRACT);