mirror of
https://github.com/Relintai/props.git
synced 2024-11-12 10:15:25 +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);
|
||||
|
||||
if (pdp.is_valid()) {
|
||||
prop_add_textures(pdp);
|
||||
prop_add_textures(pdp->get_prop());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user