diff options
Diffstat (limited to 'source/blender/editors/space_node/space_node.c')
-rw-r--r-- | source/blender/editors/space_node/space_node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/space_node.c b/source/blender/editors/space_node/space_node.c index e9531ea0020..ddfbe3bebf2 100644 --- a/source/blender/editors/space_node/space_node.c +++ b/source/blender/editors/space_node/space_node.c @@ -401,7 +401,7 @@ static void node_area_listener(bScreen *sc, ScrArea *sa, wmNotifier *wmn) bNodeTreePath *path = snode->treepath.last; /* shift view to node tree center */ if (ar && path) - UI_view2d_setcenter(&ar->v2d, path->view_center[0], path->view_center[1]); + UI_view2d_center_set(&ar->v2d, path->view_center[0], path->view_center[1]); ED_area_tag_refresh(sa); break; |