diff options
author | Bastien Montagne <bastien@blender.org> | 2020-10-02 12:42:36 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-10-02 12:47:35 +0300 |
commit | 2b90dd1ac581881c0cf0d784692a26bcfd4f494e (patch) | |
tree | 19e25e074d85247cdc32f608279705f49c08e721 /source/tools | |
parent | 062dfab159d3c8e27635c0cd91b15d6736eb61b7 (diff) |
Fix (unreported) assert in texture code when loading some old 2.74 blend file.
Trying to open the 2.74 Fishy Cat file would generate endless asserts in
customdata code. This commit refactors and cleans up the code of
`psys_get_dupli_texture` to avoid useless calls and data access, and
validate data before trying to further access it.
No behavioral changes expected here (besides getting rid of the assert).
Diffstat (limited to 'source/tools')
0 files changed, 0 insertions, 0 deletions