Gizmo: hide 2D gizmos while transforming
Hide gizmos in the sequencer & UV editor while transforming.
This commit is contained in:
parent
4485dc483c
commit
b559fb178e
|
@ -32,6 +32,7 @@
|
|||
#include "DNA_view3d_types.h"
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_layer.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
|
@ -70,6 +71,10 @@ static bool gizmo2d_generic_poll(const bContext *C, wmGizmoGroupType *gzgt)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (G.moving) {
|
||||
return false;
|
||||
}
|
||||
|
||||
ScrArea *area = CTX_wm_area(C);
|
||||
switch (area->spacetype) {
|
||||
case SPACE_IMAGE: {
|
||||
|
|
Loading…
Reference in New Issue