mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 11:56:49 +01:00
Only register NavigationMeshSourceGeometryData3D if 3d is enabled.
This commit is contained in:
parent
c898d9bc51
commit
b993bd4760
@ -691,11 +691,11 @@ void register_scene_types() {
|
||||
ClassDB::register_class<NavigationObstacle2D>();
|
||||
|
||||
ClassDB::register_class<NavigationMeshSourceGeometryData2D>();
|
||||
ClassDB::register_class<NavigationMeshSourceGeometryData3D>();
|
||||
ClassDB::register_class<NavigationGeometryParser2D>();
|
||||
|
||||
#ifndef _3D_DISABLED
|
||||
ClassDB::register_class<NavigationGeometryParser3D>();
|
||||
ClassDB::register_class<NavigationMeshSourceGeometryData3D>();
|
||||
#endif
|
||||
|
||||
OS::get_singleton()->yield(); //may take time to init
|
||||
|
Loading…
Reference in New Issue
Block a user