Fix out of bounds memory access displaying the compositor crop gizmo

Regression from typo in cbca71a7cf.
This commit is contained in:
Campbell Barton 2022-01-10 20:46:14 +11:00
parent 6beaa29791
commit 62e8d80a61
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ static void WIDGETGROUP_node_crop_refresh(const bContext *C, wmGizmoGroup *gzgro
params.value_get_fn = gizmo_node_crop_prop_matrix_get;
params.value_set_fn = gizmo_node_crop_prop_matrix_set;
params.range_get_fn = nullptr;
params.user_data = snode;
params.user_data = node;
WM_gizmo_target_property_def_func(gz, "matrix", &params);
}
else {