mirror of
https://github.com/Relintai/props.git
synced 2025-02-04 16:05:54 +01:00
Fix texture processing for sub props.
This commit is contained in:
parent
21379908e5
commit
80f5a3ee86
@ -202,7 +202,7 @@ void PropMaterialCache::prop_add_textures(const Ref<PropData> &prop) {
|
|||||||
Ref<PropDataProp> pdp = prop->get_prop(i);
|
Ref<PropDataProp> pdp = prop->get_prop(i);
|
||||||
|
|
||||||
if (pdp.is_valid()) {
|
if (pdp.is_valid()) {
|
||||||
prop_add_textures(pdp);
|
prop_add_textures(pdp->get_prop());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user