diff options
-rw-r--r-- | source/blender/editors/transform/transform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 35281168c2e..1e9ecdd0e52 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -263,6 +263,9 @@ void projectIntView(TransInfo *t, const float vec[3], int adr[2]) UI_view2d_to_region_no_clip(t->view, v[0], v[1], adr, adr + 1); } + else if (t->spacetype == SPACE_NODE) { + UI_view2d_to_region_no_clip((View2D *)t->view, vec[0], vec[1], adr, adr + 1); + } } void projectFloatView(TransInfo *t, const float vec[3], float adr[2]) |