diff options
author | Ton Roosendaal <ton@blender.org> | 2012-12-26 20:24:50 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-12-26 20:24:50 +0400 |
commit | cffd10a7c8569c7ca6edf171b3a542dcbec628af (patch) | |
tree | 5d8316250436fec8ad1a3aea8a4e9fa7f90f8c1c /source/blender/editors/include | |
parent | 0bca6c1834e1515cbdc4681621f627eb98563f9f (diff) |
Todo item:
- Drop group into 3d window now puts itself at mouse cursor location.
- Drop objects into 3d window now doesn't move the 3d cursor anymore.
Added new function ED_view3d_cursor3d_position() to handle this,
so the temporarily object-drop operator macro also could go away.
(Which was setting 3d cursor)
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 4df49920bf7..3d13938c204 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -85,6 +85,7 @@ typedef struct ViewDepths { } ViewDepths; float *give_cursor(struct Scene *scene, struct View3D *v3d); +void ED_view3d_cursor3d_position(struct bContext *C, float *fp, int mx, int my); void ED_view3d_to_m4(float mat[4][4], const float ofs[3], const float quat[4], const float dist); void ED_view3d_from_m4(float mat[4][4], float ofs[3], float quat[4], float *dist); |