diff options
author | Matt Ebb <matt@mke3.net> | 2010-03-18 04:26:56 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-03-18 04:26:56 +0300 |
commit | 25ea2fafdd4494b1d3d462201442060c5be8111b (patch) | |
tree | fbd0582ab9741b511755c502849c3f5de4482667 /source | |
parent | ab739dd456915bb7f2b1c5e36e77e36f3e955170 (diff) |
Fix [#21651] After Fix # 21114 Adding mesh in local at cursor position doesn't work
Silly bug from yesterday..
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/object/object_add.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index d852d66fb6d..b1405d1d12e 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -105,8 +105,11 @@ void ED_object_location_from_view(bContext *C, float *loc) { View3D *v3d= CTX_wm_view3d(C); Scene *scene= CTX_data_scene(C); + float *cursor; - loc = give_cursor(scene, v3d); + cursor = give_cursor(scene, v3d); + + copy_v3_v3(loc, cursor); } void ED_object_rotation_from_view(bContext *C, float *rot) |