From 80f5a3ee86d127d689bf361dd56a9a76b9019ade Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 10 Aug 2021 17:12:55 +0200 Subject: [PATCH] Fix texture processing for sub props. --- material_cache/prop_material_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/material_cache/prop_material_cache.cpp b/material_cache/prop_material_cache.cpp index 23f2319..d4087f3 100644 --- a/material_cache/prop_material_cache.cpp +++ b/material_cache/prop_material_cache.cpp @@ -202,7 +202,7 @@ void PropMaterialCache::prop_add_textures(const Ref &prop) { Ref pdp = prop->get_prop(i); if (pdp.is_valid()) { - prop_add_textures(pdp); + prop_add_textures(pdp->get_prop()); } } }