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>2021-02-25 08:08:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-25 08:13:53 +0300
commitb073e59d4e0de2a22c0a15ded1df4d29c0fa7a8e (patch)
tree0875835aa4356084c8f680af62c2ae60be3ec643 /source/blender/editors/include
parente301f3422d9922598e0cabf12a4e22eda0ae0880 (diff)
Fix T85975: Edit-mode undo/redo removes overlays
Setting the active object when decoding undo steps missed a call to ED_object_base_active_refresh.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_undo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_undo.h b/source/blender/editors/include/ED_undo.h
index 7b643e7c764..ed1ec96a13f 100644
--- a/source/blender/editors/include/ED_undo.h
+++ b/source/blender/editors/include/ED_undo.h
@@ -76,7 +76,8 @@ struct Base **ED_undo_editmode_bases_from_view_layer(struct ViewLayer *view_laye
struct UndoStack *ED_undo_stack_get(void);
/* helpers */
-void ED_undo_object_set_active_or_warn(struct ViewLayer *view_layer,
+void ED_undo_object_set_active_or_warn(struct Scene *scene,
+ struct ViewLayer *view_layer,
struct Object *ob,
const char *info,
struct CLG_LogRef *log);