Commit: d6dd2f51bbf266a7553ceeef381eddc1d769307d
Author: Aaron Carlisle
Date: Mon Dec 27 13:16:47 2021 -0500
Branches: master
https://developer.blender.org/rBd6dd2f51bbf266a7553ceeef381eddc1d769307d
Cleanup: Use vector function
===================================================================
M source/blender/editors/screen/area.c
===================================================================
diff --git a/source/blender/editors/screen/area.c
b/source/blender/editors/screen/area.c
index 5dc6fe88663..95711fe20fa 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -1667,7 +1667,7 @@ static bool event_in_markers_region(const ARegion
*region, const wmEvent *event)
{
rcti rect = region->winrct;
rect.ymax = rect.ymin + UI_MARKER_MARGIN_Y;
- return BLI_rcti_isect_pt(&rect, event->xy[0], event->xy[1]);
+ return BLI_rcti_isect_pt_v(&rect, event->xy);
}
/**
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs