New behaviour for SHIFT+O (set subsurf on/off) or CTRL+0/1/2/3/4 for level.

- Now works on selection of Objects (as do allmost all hotkeys)
- If multiple selected have different settings, it sets all the same
- Also does subsurf settings within a dupli-group
This commit is contained in:
2006-11-14 18:13:34 +00:00
parent 9ab91ab361
commit ba04e4bceb
4 changed files with 47 additions and 22 deletions

View File

@@ -1077,7 +1077,7 @@ static void tb_do_mesh(void *arg, int event){
case 2: G.f ^= G_DRAWEDGES; break;
case 3: G.f ^= G_DRAWFACES; break;
case 4: G.f ^= G_DRAWNORMALS; break;
case 5: flip_subdivison(OBACT, -1); break;
case 5: flip_subdivison(-1); break;
}
addqueue(curarea->win, REDRAW, 1);
}