forked from bartvdbraak/blender
Fix [#21651] After Fix # 21114 Adding mesh in local at cursor position doesn't work
Silly bug from yesterday..
This commit is contained in:
parent
ab739dd456
commit
25ea2fafdd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user