Skip to content

Commit

Permalink
Fix compiling export template
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylann committed Aug 21, 2024
1 parent d42119e commit 086cd51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terrain/instancing/voxel_instance_library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,10 @@ void VoxelInstanceLibrary::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_item", "id"), &VoxelInstanceLibrary::_b_get_item);
ClassDB::bind_method(D_METHOD("get_all_item_ids"), &VoxelInstanceLibrary::_b_get_all_item_ids);

#ifdef TOOLS_ENABLED
ClassDB::bind_method(D_METHOD("_set_selected_item", "item"), &VoxelInstanceLibrary::_b_set_selected_item);
ClassDB::bind_method(D_METHOD("_get_selected_item"), &VoxelInstanceLibrary::_b_get_selected_item);
#endif

ClassDB::bind_method(D_METHOD("_get_data"), &VoxelInstanceLibrary::_b_get_data);
ClassDB::bind_method(D_METHOD("_set_data", "data"), &VoxelInstanceLibrary::_b_set_data);
Expand Down

0 comments on commit 086cd51

Please sign in to comment.