- 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:
parent
0ae9af34a0
commit
d02b83cf66
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user