Fix for part of bug #8376: shift+MMB dragging the view didn't work in
the node editor like other windows. Is already used for backdrop, but if that isn't enabled it can still do it.
This commit is contained in:
@@ -2299,7 +2299,8 @@ void winqreadnodespace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
|
||||
break;
|
||||
case MIDDLEMOUSE:
|
||||
if (G.qual==LR_SHIFTKEY) {
|
||||
if((snode->flag & SNODE_BACKDRAW) && (snode->treetype==NTREE_COMPOSIT)
|
||||
&& (G.qual==LR_SHIFTKEY)) {
|
||||
snode_bg_viewmove(snode);
|
||||
} else {
|
||||
view2dmove(event);
|
||||
|
||||
Reference in New Issue
Block a user