[Bf-blender-cvs] [a52fe40] blender-v2.73-release: Followup to fe3e000: no need to exit pose mode on operator redo

Sergey Sharybin noreply at git.blender.org
Wed Jan 7 11:59:50 CET 2015


Commit: a52fe40c8402dce17ddc4c99d51f19c5d374cb5a
Author: Sergey Sharybin
Date:   Wed Jan 7 15:38:32 2015 +0500
Branches: blender-v2.73-release
https://developer.blender.org/rBa52fe40c8402dce17ddc4c99d51f19c5d374cb5a

Followup to fe3e000: no need to exit pose mode on operator redo

This is to be backported to the release branch.

===================================================================

M	source/blender/blenloader/intern/readfile.c

===================================================================

diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index a6001e6..a9fc1c3 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -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);




More information about the Bf-blender-cvs mailing list