Commit: 0584c813b5e25b61171ec87c0af0324e556972ee
Author: Joseph Eagar
Date: Sat Jan 8 02:09:53 2022 -0800
Branches: sculpt-dev
https://developer.blender.org/rB0584c813b5e25b61171ec87c0af0324e556972ee
Sculpt-dev: fix gcc compile error
===================================================================
M source/blender/editors/object/object_relations.c
===================================================================
diff --git a/source/blender/editors/object/object_relations.c
b/source/blender/editors/object/object_relations.c
index 8a5ae9ea565..c29ee6df1a6 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -2630,7 +2630,7 @@ static void
drop_named_material_face_set_slots_update(bContext *C,
bScreen *screen = CTX_wm_screen(C);
ARegion *region = BKE_screen_find_main_region_at_xy(
- screen, SPACE_VIEW3D, event->xy[0], event->xy[1]);
+ screen, SPACE_VIEW3D, event->xy);
const float mval[2] = {event->xy[0] - region->winrct.xmin, event->xy[1] -
region->winrct.ymin};
const int face_set_id = ED_sculpt_face_sets_active_update_and_get(C, ob,
mval);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs