While at the blender institute, Andy and I would often have the following conversation at our computers :
me : w_key keyboard click, menu mouse-click/frantically repeated 10 or so times
andy: smoothing, huh?
me: yup.
so I thought I really needed a hotkey for smoothing. Though blender (until 2.5 comes) lacks user defined hotkeys, it’s open source, so with a “how hard could it be?” I started opening files in my text editor. It took less time than writing this blog post. All/most hotkeys seem to be in source/blender/src/space.c , and it looked like the t-key (without a modifier) was unused. I really just copy pasted (well, I may have typed “if” and a couple of parens ), compiled, and voila! now I have a t-key smooth hotkey in mesh edit mode, ready to blow out my undo stack )
you can have it too, or add your own special keys.
13-09-2007 at 5:52 pm
What about a “repeat last command” key? What I mean, is a hotkey that does whatever you did last. So if I extrude a region, and want to do it again, I just press the hotkey. If I then want to snap to cursor, I do it the normal way first, but subsequently I just press the hotkey. And that applies to all commands, smooth for example. Or does this function need the refactoring work in 2.5?
14-09-2007 at 9:34 am
Doable, but a lot of work, for less returns- for one, I can’t think of one command (other than smooth) that fits the bill- everything else is either not so often invoked, or has it’s own hotkey. Would probably be easier to do after 2.5 , (maybe even without coding!) but maybe as part of something else bigger, like making custom tools, or an actual construction history.