- 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:
@@ -7615,7 +7615,7 @@ void adduplicate(float *dtrans)
|
|||||||
clear_id_newpoins();
|
clear_id_newpoins();
|
||||||
|
|
||||||
countall();
|
countall();
|
||||||
if(dtrans==0) transform('d');
|
if(dtrans==0) Transform(TFM_TRANSLATION);
|
||||||
|
|
||||||
set_active_base(BASACT);
|
set_active_base(BASACT);
|
||||||
|
|
||||||
|
|||||||
@@ -726,11 +726,11 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
|||||||
|
|
||||||
if(val) {
|
if(val) {
|
||||||
|
|
||||||
prev_event= event; // for ctrl/alt/shift event
|
|
||||||
|
|
||||||
if( uiDoBlocks(&curarea->uiblocks, event)!=UI_NOTHING ) event= 0;
|
if( uiDoBlocks(&curarea->uiblocks, event)!=UI_NOTHING ) event= 0;
|
||||||
if(event==MOUSEY || event==MOUSEX) return;
|
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?
|
if(event==UI_BUT_EVENT) do_butspace(val); // temporal, view3d deserves own queue?
|
||||||
|
|
||||||
/* we consider manupilator a button, defaulting to leftmouse */
|
/* we consider manupilator a button, defaulting to leftmouse */
|
||||||
|
|||||||
Reference in New Issue
Block a user