Fix texture processing for sub props.

This commit is contained in:
Relintai 2021-08-10 17:12:55 +02:00
parent 21379908e5
commit 80f5a3ee86

View File

@ -202,7 +202,7 @@ void PropMaterialCache::prop_add_textures(const Ref<PropData> &prop) {
Ref<PropDataProp> pdp = prop->get_prop(i);
if (pdp.is_valid()) {
prop_add_textures(pdp);
prop_add_textures(pdp->get_prop());
}
}
}