diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-04-11 16:14:49 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-04-11 16:46:01 +0300 |
commit | 9a303d5db789198f8ba3e46d1e482a6b22a67ffe (patch) | |
tree | 0c1085cd5a4ab60a8aa7d5655fc4edaaf2ef5cc8 /source/blender/editors/armature | |
parent | 513aacbdb6e425005eee6d83fdca0f06f6e6e374 (diff) |
Bring snapping back (Base / BaseLegacy)
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/editarmature_sketch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/editarmature_sketch.c b/source/blender/editors/armature/editarmature_sketch.c index b53bba8db32..63acb557c52 100644 --- a/source/blender/editors/armature/editarmature_sketch.c +++ b/source/blender/editors/armature/editarmature_sketch.c @@ -996,7 +996,7 @@ static int sk_getStrokeSnapPoint(bContext *C, SK_Point *pt, SK_Sketch *sketch, S * the ideal would be to call this function only at the beginning of the snap operation, * or at the beginning of the operator itself */ struct SnapObjectContext *snap_context = ED_transform_snap_object_context_create_view3d( - CTX_data_main(C), CTX_data_scene(C), 0, + CTX_data_main(C), CTX_data_scene(C), CTX_data_scene_layer(C), 0, CTX_wm_region(C), CTX_wm_view3d(C)); float mvalf[2] = {UNPACK2(dd->mval)}; |