forked from bartvdbraak/blender
Followup to fe3e000: no need to exit pose mode on operator redo
This is to be backported to the release branch.
This commit is contained in:
parent
29d2c71117
commit
3f05797333
@ -4914,7 +4914,10 @@ static void direct_link_object(FileData *fd, Object *ob)
|
||||
* See [#34776, #42780] for more information.
|
||||
*/
|
||||
if (fd->memfile || (ob->id.flag & (LIB_EXTERN | LIB_INDIRECT))) {
|
||||
ob->mode &= ~(OB_MODE_EDIT | OB_MODE_PARTICLE_EDIT | OB_MODE_POSE);
|
||||
ob->mode &= ~(OB_MODE_EDIT | OB_MODE_PARTICLE_EDIT);
|
||||
if (!fd->memfile) {
|
||||
ob->mode &= ~OB_MODE_POSE;
|
||||
}
|
||||
}
|
||||
|
||||
ob->adt = newdataadr(fd, ob->adt);
|
||||
|
Loading…
Reference in New Issue
Block a user