Add missing bindings for constants
Without those bindings, exported api.json generates the class without the enum despite having a method with a return value of that type. This fixes compilation with generated headers in godot-cppmaster
parent
225f332e1f
commit
eef1d076a0
|
@ -640,4 +640,8 @@ void VoxelInstanceGenerator::_bind_methods() {
|
|||
BIND_ENUM_CONSTANT(DISTRIBUTION_CUBIC);
|
||||
BIND_ENUM_CONSTANT(DISTRIBUTION_QUINTIC);
|
||||
BIND_ENUM_CONSTANT(DISTRIBUTION_COUNT);
|
||||
|
||||
BIND_ENUM_CONSTANT(DIMENSION_2D);
|
||||
BIND_ENUM_CONSTANT(DIMENSION_3D);
|
||||
BIND_ENUM_CONSTANT(DIMENSION_COUNT);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue