From c1b0be11bd9a0f39165061e769b94e4c06a14977 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 6 Sep 2019 18:40:28 +0200 Subject: [PATCH] Fixed the new property's hint. --- library/voxelman_library.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/voxelman_library.cpp b/library/voxelman_library.cpp index 896bfe5..c806d9b 100644 --- a/library/voxelman_library.cpp +++ b/library/voxelman_library.cpp @@ -123,5 +123,5 @@ void VoxelmanLibrary::_bind_methods() { ClassDB::bind_method(D_METHOD("get_voxel_surfaces"), &VoxelmanLibrary::get_voxel_surfaces); ClassDB::bind_method(D_METHOD("set_voxel_surfaces"), &VoxelmanLibrary::set_voxel_surfaces); - ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "voxel_surfaces", (PropertyHint)(PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_SCRIPT_VARIABLE), "17/17:VoxelSurface", PROPERTY_USAGE_DEFAULT, "VoxelSurface"), "set_voxel_surfaces", "get_voxel_surfaces"); + ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "voxel_surfaces", PROPERTY_HINT_NONE, "17/17:VoxelSurface", PROPERTY_USAGE_DEFAULT, "VoxelSurface"), "set_voxel_surfaces", "get_voxel_surfaces"); }