Blender Git Commit Log

Git Commits -> Revision f48556f

Revision f48556f by Matt Ebb (master)
June 29, 2010, 12:33 (GMT)
Fix [#22355] Spin Tool crashes Blender on Click'n'Drag Steps

Spin tool steps property had no softmin/softmax (set to INT_MAX), and without continuous grab on, the number field dragging code would jump up to ridiculously high numbers.

Added a reasonable soft max for spin, and also added some protection to the button dragging code to prevent the drag increments from getting too high.

Probably need to doublecheck other op property softmaxes as well.

Commit Details:

Full Hash: f48556f236b707b9f5f319d72ac630dc718ce1e3
SVN Revision: 29789
Parent Commit: 3c1e97d
Lines Changed: +11, -9

2 Modified Paths:

/source/blender/editors/interface/interface_handlers.c (+10, -8) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021