Cleanup: better naming

Suggested by Campbell here: https://developer.blender.org/rB09cd651bb7e59044cbcd0664e8b1064cb37734ed
This commit is contained in:
Jacques Lucke 2018-10-17 09:53:05 +02:00
parent 8e071e76de
commit ec7c3b5b4f
3 changed files with 3 additions and 3 deletions

View File

@ -470,7 +470,7 @@ struct ImBuf *ED_view3d_draw_offscreen_imbuf_simple(
struct Base *ED_view3d_give_base_under_cursor(struct bContext *C, const int mval[2]);
struct Object *ED_view3d_give_object_under_cursor(struct bContext *C, const int mval[2]);
bool ED_view3d_there_is_an_object_under_cursor(struct bContext *C, const int mval[2]);
bool ED_view3d_is_object_under_cursor(struct bContext *C, const int mval[2]);
void ED_view3d_quadview_update(struct ScrArea *sa, struct ARegion *ar, bool do_clip);
void ED_view3d_update_viewmat(
struct Depsgraph *depsgraph, struct Scene *scene, struct View3D *v3d, struct ARegion *ar,

View File

@ -601,7 +601,7 @@ static bool view3d_ima_bg_drop_poll(bContext *C, wmDrag *drag, const wmEvent *ev
return false;
}
if (ED_view3d_there_is_an_object_under_cursor(C, event->mval)) {
if (ED_view3d_is_object_under_cursor(C, event->mval)) {
return false;
}

View File

@ -1535,7 +1535,7 @@ Object *ED_view3d_give_object_under_cursor(bContext *C, const int mval[2])
return NULL;
}
bool ED_view3d_there_is_an_object_under_cursor(bContext *C, const int mval[2])
bool ED_view3d_is_object_under_cursor(bContext *C, const int mval[2])
{
return ED_view3d_give_object_under_cursor(C, mval) != NULL;
}