Fix T59500: Weight Smoothing Not Working
Reviewers: brecht, dfelinto Maniphest Tasks: T59500 Differential Revision: https://developer.blender.org/D4094
This commit is contained in:
parent
1a21c0c239
commit
bc8f2e9ee4
Notes:
blender-bot
2023-02-14 04:26:29 +01:00
Referenced by issue #59500, Weight Smoothing Not Working in 2.80
|
@ -3124,9 +3124,11 @@ static int vertex_group_smooth_exec(bContext *C, wmOperator *op)
|
|||
eVGroupSelect subset_type = RNA_enum_get(op->ptr, "group_select_mode");
|
||||
const float fac_expand = RNA_float_get(op->ptr, "expand");
|
||||
ViewLayer *view_layer = CTX_data_view_layer(C);
|
||||
Object *ob_ctx = ED_object_context(C);
|
||||
|
||||
uint objects_len = 0;
|
||||
Object **objects = BKE_view_layer_array_from_objects_in_edit_mode_unique_data(view_layer, CTX_wm_view3d(C), &objects_len);
|
||||
Object **objects = BKE_view_layer_array_from_objects_in_mode_unique_data(view_layer, CTX_wm_view3d(C), &objects_len,
|
||||
ob_ctx->mode);
|
||||
for (uint ob_index = 0; ob_index < objects_len; ob_index++) {
|
||||
Object *ob = objects[ob_index];
|
||||
|
||||
|
|
Loading…
Reference in New Issue