mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Fix Selection Game View
This commit is contained in:
@@ -915,6 +915,13 @@ PackedStringArray CSGShape3D::get_configuration_warnings() const {
|
||||
return warnings;
|
||||
}
|
||||
|
||||
Ref<TriangleMesh> CSGShape3D::generate_triangle_mesh() const {
|
||||
if (root_mesh.is_valid()) {
|
||||
return root_mesh->generate_triangle_mesh();
|
||||
}
|
||||
return Ref<TriangleMesh>();
|
||||
}
|
||||
|
||||
void CSGShape3D::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_update_shape"), &CSGShape3D::_update_shape);
|
||||
ClassDB::bind_method(D_METHOD("is_root_shape"), &CSGShape3D::is_root_shape);
|
||||
|
||||
Reference in New Issue
Block a user