diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-08 09:30:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-08 09:30:24 +0300 |
commit | ecab7bef6989752ff1a8c5fd1eab7b5ab159ed46 (patch) | |
tree | ae7ef72a16e58ee9a1cb3f50c363fc24bcaf1fd5 /source/blender/editors/sculpt_paint/paint_stroke.c | |
parent | 28f86bf117e9d9d10089ef758a5ec4ade65084c6 (diff) |
Cleanup: Rename view3d context set function
Use common prefix so adding related functions share the prefix.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_stroke.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 2ce047e33ec..e6a9fd9adf8 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -689,7 +689,7 @@ PaintStroke *paint_stroke_new(bContext *C, Brush *br = stroke->brush = BKE_paint_brush(p); float zoomx, zoomy; - view3d_set_viewcontext(C, &stroke->vc); + ED_view3d_viewcontext_init(C, &stroke->vc); stroke->get_location = get_location; stroke->test_start = test_start; |