Temporary comments.

This commit is contained in:
Relintai 2025-04-15 10:32:31 +02:00
parent 526209c1a4
commit 7681d71704

View File

@ -52,6 +52,12 @@
#include "../../props/props/prop_data_light.h"
#include "../../props/props/prop_data_prop.h"
#include "../../props/props/prop_data_scene.h"
#ifdef MODULE_ENTITY_SPELL_SYSTEM_ENABLED
#include "modules/entity_spell_system/props/prop_data_ess_entity_world_spawner_3d_single.h"
#include "modules/entity_spell_system/props/prop_data_ess_entity_world_spawner_3d_area.h"
#endif
#endif
#ifdef MODULE_MESH_DATA_RESOURCE_ENABLED
@ -69,6 +75,8 @@
#include "scene/resources/world_3d.h"
#endif
const String TerrainWorld::BINDING_STRING_CHANNEL_TYPE_INFO = "Type,Isolevel,Liquid,Liquid Level";
bool TerrainWorld::get_active() const {
@ -870,6 +878,27 @@ void TerrainWorld::prop_add(Transform transform, const Ref<PropData> &prop, cons
continue;
}
#endif
#ifdef MODULE_ENTITY_SPELL_SYSTEM_ENABLED
/*
TODO Chunks will need a new api for this. Props that should just create nodes using processor_get_node_for().
node_props / managed_props / instanced_props?
Ref<PropDataESSEntityWorldSpawner3DSingle> world_Spawner_single_data = entry;
if (world_Spawner_single_data.is_valid()) {
Node *n = sc->processor_get_node_for(t);
add_child(n);
n->set_owner(this);
chunk->scene_add(sc, t, n, false);
continue;
}
Ref<PropDataESSEntityWorldSpawner3DArea> world_Spawner_area_data = entry;
*/
#endif
}
}
#endif