units with no separator can now be typed into number buttons - eg, 5'7" 2km4m

This commit is contained in:
2009-08-17 12:48:56 +00:00
parent f1ec842cb2
commit 9f973bca78
4 changed files with 127 additions and 39 deletions

View File

@@ -322,7 +322,7 @@ void WM_operator_py_idname(char *to, const char *from)
/* some.op -> SOME_OT_op */
void WM_operator_bl_idname(char *to, const char *from)
{
char *sep= strstr(from, ".");
char *sep= strchr(from, '.');
if(sep) {
int i, ofs= (sep-from);