Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-02-04 11:02:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-02-04 11:02:08 +0300
commit84e71195c98c261dc928b031f2d4700e16707cde (patch)
tree1dd6df6ddefdbf010f1591549ac1212c2aabf3de /source/blender/editors/curve
parent77702245b1295ce50de7342f3f26f4f7000b2a48 (diff)
parent0964ae5266541f09a1d54d8941393bada97d08a2 (diff)
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source/blender/editors/curve')
-rw-r--r--source/blender/editors/curve/editcurve_undo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editcurve_undo.c b/source/blender/editors/curve/editcurve_undo.c
index ff3a1386fd9..8bcabb5ed85 100644
--- a/source/blender/editors/curve/editcurve_undo.c
+++ b/source/blender/editors/curve/editcurve_undo.c
@@ -216,8 +216,7 @@ static bool curve_undosys_step_encode(struct bContext *C, struct Main *bmain, Un
* outside of this list will be moved out of edit-mode when reading back undo steps. */
ViewLayer *view_layer = CTX_data_view_layer(C);
uint objects_len = 0;
- Object **objects = BKE_view_layer_array_from_objects_in_edit_mode_unique_data(
- view_layer, NULL, &objects_len);
+ Object **objects = ED_undo_editmode_objects_from_view_layer(view_layer, &objects_len);
us->elems = MEM_callocN(sizeof(*us->elems) * objects_len, __func__);
us->elems_len = objects_len;