Blender Git Loki

Git Commits -> Revision 7b938ab

Revision 7b938ab by Ton Roosendaal (master)
December 26, 2012, 17:36 (GMT)
Bugfix #33667

Mesh had invalid face indices (number too high).
On Separate in Edit Mode it crashed.

Two fixes:

- The Material properties viewer just showed the last material in the index array.
Now it shows nothing, to indicate it's an invalid selected material.

- Crash was caused by array copy magic, not checking the active index properly.

(No assert, no warning prints, I think cases like this can happen too easily, and this
way user gets notified nicely and can fix it).

Commit Details:

Full Hash: 7b938abe2b85eae1fdfe8d584935f4ec4d94f297
SVN Revision: 53332
Parent Commit: cffd10a
Lines Changed: +11, -3

1 Modified Path:

/source/blender/blenkernel/intern/material.c (+11, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021