diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-06-21 18:05:47 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-06-21 18:05:47 +0300 |
commit | 3039d86f8bc00796cde3b93185db23698652002a (patch) | |
tree | 85843eea2e0a45c3bd74fdc2103826f2add5888b /source/blender/editors/include/ED_view3d.h | |
parent | 7c9f64d008357151ae2e0007172a088d41588dec (diff) |
Fix T65834: Circle Select does not update select_id buffer after orbiting view3d.
This solution checks if `persp_mat` has changed. If positive, the selection buffer is redrawn.
Differential Revision: https://developer.blender.org/D5081
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 21a18a0b387..99843c66d0e 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -519,6 +519,9 @@ struct EDSelectID_Context *ED_view3d_select_id_context_create(struct ViewContext short select_mode); void ED_view3d_select_id_context_destroy(struct EDSelectID_Context *sel_id_ctx); +void ED_view3d_select_id_validate_view_matrices(const struct EDSelectID_Context *sel_id_ctx, + struct ViewContext *vc); + uint ED_view3d_select_id_context_offset_for_object_elem( const struct EDSelectID_Context *sel_id_ctx, int base_index, char elem_type); |