mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-22 10:57:30 +01:00
Update for the prop module's PropDataMesh rename.
This commit is contained in:
parent
96fdd00754
commit
ff48f3738a
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user