Update for the prop module's PropDataMesh rename.

This commit is contained in:
Relintai 2020-07-05 18:49:00 +02:00
parent 96fdd00754
commit ff48f3738a

View File

@ -32,7 +32,7 @@ SOFTWARE.
#endif #endif
#if MESH_DATA_RESOURCE_PRESENT #if MESH_DATA_RESOURCE_PRESENT
#include "../../mesh_data_resource/props/prop_data_mesh.h" #include "../../mesh_data_resource/props/prop_data_mesh_data.h"
#endif #endif
#include "../defines.h" #include "../defines.h"
@ -372,7 +372,7 @@ bool VoxelmanLibraryMerger::process_prop_textures(Ref<PropData> prop) {
bool texture_added = false; bool texture_added = false;
for (int i = 0; i < prop->get_prop_count(); ++i) { for (int i = 0; i < prop->get_prop_count(); ++i) {
Ref<PropDataMesh> pdm = prop->get_prop(i); Ref<PropDataMeshData> pdm = prop->get_prop(i);
if (pdm.is_valid()) { if (pdm.is_valid()) {
Ref<Texture> tex = pdm->get_texture(); Ref<Texture> tex = pdm->get_texture();