checking for V3D_LOCAL was duplicated in transform.c, and both checks not quite correct.
- When checking edimode, make sure its mesh editmode.
- Graph editor supports this option but wasn't being checked.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@54636 954f8c5b-7b00-dc11-b283-0030488c597c