[Bf-committers] Fix for #923

Bill Baxter bf-committers@blender.org
Mon, 26 Jan 2004 00:44:22 -0500


Here's a one-line fix for #923 ( can't type negative numbers with 
NONUMPAD on)

Add the one line below where shown just before the main event loop in 
editobject.c:
 
          ....
            if(val) {
                >>  if ((U.flag & USER_NONUMPAD) && typemode && 
event==PADMINUS) event = MINUSKEY; <<
               switch(event) {
                case ESCKEY:
                ....


--bb