Blender Git Commit Log
Git Commits -> Revision 090a010
August 30, 2006, 11:10 (GMT) |
Fix for a bug where the Array modifier would freeze if it was set to "Fit To Curve Length" or "Fixed Count" and the base mesh was scaled to 0 in edit mode (could also happen while entering a numerical scale value like 0.25). The problem was that the dist value could be almost 0, leading to a ridiculously large duplicate count which would then cause memory allocation to fail and the array modifier to get stuck in an almost infinite loop trying to calculate the offset of the final copy. This commit fixes the problem by checking that dist is greater than FLT_EPSILON before continuing. |
Commit Details:
Full Hash: 090a010988ad86b73d7222c2218b988876c36f5b
SVN Revision: 8418
Parent Commit: cc6f92c
Lines Changed: +3, -2
1 Modified Path:
/source/blender/blenkernel/intern/modifier.c (+3, -2) (Diff)