[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [49166] trunk/blender/source/blender/ blenkernel/intern/ipo.c: no need for renaming actions that are not linked anywhere

Dalai Felinto dfelinto at gmail.com
Tue Jul 24 09:08:35 CEST 2012


Revision: 49166
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49166
Author:   dfelinto
Date:     2012-07-24 07:08:33 +0000 (Tue, 24 Jul 2012)
Log Message:
-----------
no need for renaming actions that are not linked anywhere
talked with Joshua Leung (aligorith) and he agreed on that

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/ipo.c

Modified: trunk/blender/source/blender/blenkernel/intern/ipo.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/ipo.c	2012-07-24 01:01:59 UTC (rev 49165)
+++ trunk/blender/source/blender/blenkernel/intern/ipo.c	2012-07-24 07:08:33 UTC (rev 49166)
@@ -2094,7 +2094,7 @@
 			bAction *new_act;
 			
 			/* add a new action for this, and convert all data into that action */
-			new_act = add_empty_action("ConvIPO_Action"); // XXX need a better name...
+			new_act = add_empty_action(id->name+2);
 			ipo_to_animato(NULL, ipo, NULL, NULL, NULL, NULL, &new_act->curves, &drivers);
 			new_act->idroot = ipo->blocktype;
 		}




More information about the Bf-blender-cvs mailing list