Blender Git Loki

Git Commits -> Revision 74e2b98

Revision 74e2b98 by Ben Batt (master)
August 30, 2006, 07:35 (GMT)

Fix for bug #4912: Interface freeze with scaling object with subsurf + array
modifier.

The bug was caused by an endless loop in the Array modifier's calc_mapping
function. The loop worked under the assumption that there could not be sets
of vertices such that (for example) vertex A merges with vertex B and vertex
B merges with vertex A. As it turns out, this situation is possible, so the
loop got stuck going from A to B to A to B ad infinitum.

This commit fixes the problem by limiting the number of loop iterations with
the copy number for which the mapping is being calculated. This should also
give more correct results in general.

Commit Details:

Full Hash: 74e2b9810b4d550790363a5a730428af0cd3d38d
SVN Revision: 8413
Parent Commit: 3a4e9d5
Lines Changed: +7, -4

1 Modified Path:

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