Blender Git Commit Log

Git Commits -> Revision 1e00370

Revision 1e00370 by Ton Roosendaal (master)
April 8, 2006, 15:58 (GMT)
Bugfix #3961

When using CTRL+L for materials, you can end up with non-existing material
indices in faces. The drawing code then was still happily drawing the old
situation (or something random, its a static array).

This commit checks the maximum amount of materials on an object, and draws
the last available material for a non-existing index. It uses an ugly
global yes, but this code is bad anyway. :)

Commit Details:

Full Hash: 1e0037045d71623c24796e5cf7781a5e401c25d0
SVN Revision: 7227
Parent Commit: f278700
Lines Changed: +6, -1

2 Modified Paths:

/source/blender/src/drawobject.c (+5, -0) (Diff)
/source/blender/src/editobject.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021