diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-04-18 12:38:38 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-04-18 12:41:07 +0300 |
commit | 2117e46e5b85ac9e2e99afa7ddc305f81da1dffe (patch) | |
tree | 9987f06279bcc5f194d709837b95e71c592b53d4 /source/blender/blenkernel/intern/undo_system.c | |
parent | 10ce4719d441616e06b2e94d374b510413b11b10 (diff) |
Disable auto-override for all but active object in group case.
I.E. only enable auto-override for 'active' selected object when making
an override of a linked group. This will ease on auto-override creation,
and you typically do not want to auto-override most objects in the group
anyway (in proxy system, you could only proxyfy one object of the group
anyaway!).
Diffstat (limited to 'source/blender/blenkernel/intern/undo_system.c')
-rw-r--r-- | source/blender/blenkernel/intern/undo_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/undo_system.c b/source/blender/blenkernel/intern/undo_system.c index fd62650e898..cab675ccd2e 100644 --- a/source/blender/blenkernel/intern/undo_system.c +++ b/source/blender/blenkernel/intern/undo_system.c @@ -395,7 +395,7 @@ bool BKE_undosys_step_push_with_type(UndoStack *ustack, bContext *C, const char /* Might not be final place for this to be called - probably only want to call it from some * undo handlers, not all of them? */ - BKE_main_override_static_operations_create(CTX_data_main(C)); + BKE_main_override_static_operations_create(CTX_data_main(C), false); /* Remove all undos after (also when 'ustack->step_active == NULL'). */ while (ustack->steps.last != ustack->step_active) { |