Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2020-05-12 14:21:17 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-05-12 14:58:40 +0300
commit973ab436f07c652cb6aa13bedc351df06bce6561 (patch)
tree166b4cac5199e5379524fb46c21443715885baa4 /source/blender/editors/gpencil
parentfffcb6e48068d77de6bbaaf35ef30515d1078dac (diff)
Fix T76514: Invalid geometry in Alembic crashes Blender
Even though {T76514} is caused by invalid geometry, and thus technically constitutes a bug in the software that created the Alembic file, I would like Blender not to crash on importing such a file. The error in the Alembic file consists of invalid mesh loops, where consecutive loops refer to the same vertex. The `BKE_mesh_validate()` can actually correct these errors, so this commit focuses on two things: - Letting Blender survive the situation until the mesh is loaded, and - Detecting the error so that `BKE_mesh_validate()` can be called only when necessary. This ensures there is only a minimal impact on performance when loading actually valid data. Differential Revision: https://developer.blender.org/D7703 Reviewed By: JacquesLucke
Diffstat (limited to 'source/blender/editors/gpencil')
0 files changed, 0 insertions, 0 deletions