axes3d button-check fix

While I don’t think this has caused any problems yet, I have noticed a discrepancy in how a button-click test was being done versus other checks in the same file. It also makes more sense to check against a compiled list of buttons instead of using a hard-coding value.

Attached is a patch

Ben Root

buttoncheck.patch (558 Bytes)

Applied to 8493, thanks!
JDH

···

On Sun, Jul 4, 2010 at 4:56 PM, Benjamin Root <ben.root@...553...> wrote:

While I don't think this has caused any problems yet, I have noticed a
discrepancy in how a button-click test was being done versus other checks in
the same file. It also makes more sense to check against a compiled list of
buttons instead of using a hard-coding value.

Attached is a patch