[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14881] trunk/blender/source/blender/src/ poselib.c: Bugfix #11738:

Joshua Leung aligorith at gmail.com
Sun May 18 12:41:42 CEST 2008


Revision: 14881
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14881
Author:   aligorith
Date:     2008-05-18 12:41:42 +0200 (Sun, 18 May 2008)

Log Message:
-----------
Bugfix #11738: 

PoseLib Preview crashed when there was no active pose as there were no poses at all (i.e. on a newly created Pose Library) .

Modified Paths:
--------------
    trunk/blender/source/blender/src/poselib.c

Modified: trunk/blender/source/blender/src/poselib.c
===================================================================
--- trunk/blender/source/blender/src/poselib.c	2008-05-18 07:30:51 UTC (rev 14880)
+++ trunk/blender/source/blender/src/poselib.c	2008-05-18 10:41:42 UTC (rev 14881)
@@ -1110,7 +1110,7 @@
 		return;
 	}
 	if (pld->marker == NULL) {
-		if ((apply_active==0) || (pld->act->markers.first)) {
+		if ((apply_active==0) && (pld->act->markers.first)) {
 			/* just use first one then... */
 			pld->marker= pld->act->markers.first;
 			printf("PoseLib had no active pose\n");





More information about the Bf-blender-cvs mailing list