diff options
author | Ben Batt <benbatt@gmail.com> | 2006-08-30 11:35:19 +0400 |
---|---|---|
committer | Ben Batt <benbatt@gmail.com> | 2006-08-30 11:35:19 +0400 |
commit | 74e2b9810b4d550790363a5a730428af0cd3d38d (patch) | |
tree | 40805e353dfcfa003e765149999c4afad9f78b35 /projectfiles/blender | |
parent | 3a4e9d59467069ff22d20cff47fe9582e5fa6b0b (diff) |
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.
Diffstat (limited to 'projectfiles/blender')
0 files changed, 0 insertions, 0 deletions