[Bf-committers] I've made a custom hotkey system for Blender!
Alexander Ewering
blender at instinctive.de
Mon Dec 6 08:18:12 CET 2004
On Sun, 5 Dec 2004, joeedh wrote:
> What are you freakin talking about. Blender never has L_SHIFTKEY set without
> R_SHIFTKEY. I've tested it. So why have both? The UI toggle can set 1 bit,
> or the first bit of two bytes in a short, but the docs don't mention
> anything about setting two bits right next to each other.
Oops, sorry then. I thought you didn't understand why (G.qual & LR_SHIFTKEY)
is the same as (G.qual & (L_SHIFTKEY|R_SHIFTKEY)) if LR_SHIFTKEY is
#defined to be L_SHIFTKEY + R_SHIFTKEY.
That's a misunderstanding then.
I still don't understand why you want to store a short in a char though ;)
| alexander ewering instinctive mediaworks
| ae[@]instinctive[.]de http://www[.]instinctive[.]de
More information about the Bf-committers
mailing list