Blender Git Loki

Git Commits -> Revision ad2a840

Revision ad2a840 by Campbell Barton (master)
February 11, 2020, 02:20 (GMT)
Fix T56108: Crash editing corrupted vertex groups

While the file in this report had corrupted values,
this is avoidable without adding any extra overhead.

Use unsigned vertex group indices since we don't need negative values,
this is an alternative to checking they aren't negative in many places.

Vertex group values over INT_MAX is still considered invalid,
so any accidental unsigned wrapping won't be silently ignored.

Commit Details:

Full Hash: ad2a8400e9a263acf924311ce1fb050b0e1eb415
Parent Commit: 56a4ee3
Lines Changed: +19, -20

7 Modified Paths:

/source/blender/blenkernel/BKE_deform.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/armature.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/deform.c (+3, -4) (Diff)
/source/blender/blenkernel/intern/mesh_validate.c (+6, -4) (Diff)
/source/blender/collada/ControllerExporter.cpp (+5, -7) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021