Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-04-21 12:46:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-21 12:47:17 +0400
commit43d695e82e8f39b143f56d8f93c061d58bdddfbc (patch)
tree2da94c6f765a001aaa9d7df6ed0d65dfa8f1ae68 /source/blender/editors/space_node/space_node.c
parent0ff06a9ba501e7d4130e669af3457e7017710471 (diff)
Code cleanup: view2d api naming
Diffstat (limited to 'source/blender/editors/space_node/space_node.c')
-rw-r--r--source/blender/editors/space_node/space_node.c2
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;