diff options
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 32d7014ca43..5e1a6882d56 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -606,8 +606,8 @@ static void image_main_region_init(wmWindowManager *wm, ARegion *region) { wmKeyMap *keymap; - /* Image space manages own v2d. */ - // UI_view2d_region_reinit(®ion->v2d, V2D_COMMONVIEW_STANDARD, region->winx, region->winy); + /* NOTE: don't use `UI_view2d_region_reinit(®ion->v2d, ...)` + * since the space clip manages own v2d in #image_main_region_set_view2d */ /* mask polls mode */ keymap = WM_keymap_ensure(wm->defaultconf, "Mask Editing", 0, 0); |