[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/src space.c

Ton Roosendaal ton at blender.org
Sun Jan 30 18:59:33 CET 2005


Hi,

A bit weird... I would use in this case:

if(G.qual == LR_SHIFTKEY | LR_ALTKEY | LR_CTRLKEY)

As Martin has been changing 6 months ago...

-Ton-


On 29 Jan, 2005, at 22:34, Chris Want wrote:

> hos (Chris Want) 2005/01/29 22:34:45 CET
>
>   Modified files:
>     blender/source/blender/src space.c
>
>   Log:
>   Correcting the logic of the hotkey modifiers for select
>   non-manifold. If you want it so all three modifiers are needed
>   (e.g. ctrl-alt-shift-MKEY) use:
>
>     if ( !(~G.qual & (LR_SHIFTKEY | LR_ALTKEY | LR_CTRLKEY)) )
>
>   instead of
>
>     if ( G.qual & (LR_SHIFTKEY | LR_ALTKEY | LR_CTRLKEY) )
>
>   (which really allows any modifier, alone or in combination, to work).
>
>   Revision  Changes    Path
>   1.215     +3 -2      blender/source/blender/src/space.c
>      
> <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/ 
> blender/src/space.c.diff?r1=1.214&r2=1.215&cvsroot=bf-blender>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-blender-cvs
>
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton at blender.org  
http://www.blender.org



More information about the Bf-committers mailing list