- Fix for CTRL (and possible ALT, SHIFT) as hotkey; now also works while

moving mouse around :)
- Shift+D duplicate uses new transform
This commit is contained in:
Ton Roosendaal 2005-03-23 18:50:03 +00:00
parent 0ae9af34a0
commit d02b83cf66
2 changed files with 3 additions and 3 deletions

@ -7615,7 +7615,7 @@ void adduplicate(float *dtrans)
clear_id_newpoins();
countall();
if(dtrans==0) transform('d');
if(dtrans==0) Transform(TFM_TRANSLATION);
set_active_base(BASACT);

@ -726,11 +726,11 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
if(val) {
prev_event= event; // for ctrl/alt/shift event
if( uiDoBlocks(&curarea->uiblocks, event)!=UI_NOTHING ) event= 0;
if(event==MOUSEY || event==MOUSEX) return;
prev_event= event; // for ctrl/alt/shift event
if(event==UI_BUT_EVENT) do_butspace(val); // temporal, view3d deserves own queue?
/* we consider manupilator a button, defaulting to leftmouse */