[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38213] branches/soc-2011-pepper/source/ blender/blenkernel/intern/nla.c: NLA - Adding new actionclip strips no longer appends "Act: " to the

Joshua Leung aligorith at gmail.com
Fri Jul 8 05:31:44 CEST 2011


Revision: 38213
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38213
Author:   aligorith
Date:     2011-07-08 03:31:40 +0000 (Fri, 08 Jul 2011)
Log Message:
-----------
NLA - Adding new actionclip strips no longer appends "Act: " to the
start of the names. It should be clear enough what they are without
this.

Modified Paths:
--------------
    branches/soc-2011-pepper/source/blender/blenkernel/intern/nla.c

Modified: branches/soc-2011-pepper/source/blender/blenkernel/intern/nla.c
===================================================================
--- branches/soc-2011-pepper/source/blender/blenkernel/intern/nla.c	2011-07-08 03:07:51 UTC (rev 38212)
+++ branches/soc-2011-pepper/source/blender/blenkernel/intern/nla.c	2011-07-08 03:31:40 UTC (rev 38213)
@@ -1242,7 +1242,7 @@
 	if (strip->name[0]==0) {
 		switch (strip->type) {
 			case NLASTRIP_TYPE_CLIP: /* act-clip */
-				sprintf(strip->name, "Act: %s", (strip->act)?(strip->act->id.name+2):("<None>"));
+				sprintf(strip->name, "%s", (strip->act)?(strip->act->id.name+2):("<No Action>"));
 				break;
 			case NLASTRIP_TYPE_TRANSITION: /* transition */
 				sprintf(strip->name, "Transition");




More information about the Bf-blender-cvs mailing list