[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12210] trunk/blender/source/blender/src/ interface.c: Action Editor - Sliders Bugfix:

Joshua Leung aligorith at gmail.com
Fri Oct 5 11:03:38 CEST 2007


Revision: 12210
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12210
Author:   aligorith
Date:     2007-10-05 11:03:37 +0200 (Fri, 05 Oct 2007)

Log Message:
-----------
Action Editor - Sliders Bugfix:

Pasting values into/onto sliders in the Action Editor didn't insert new keyframes for the related channels. 

I've added a one-liner to the interface/buttons code which calls the button callback upon pasting values, thus fixing this bug and perhaps some others in the future. This shouldn't cause any problems in general (I haven't seen any yet!).

Thanks to venomgfx (Pablo Vazquez) for reporting this. 

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

Modified: trunk/blender/source/blender/src/interface.c
===================================================================
--- trunk/blender/source/blender/src/interface.c	2007-10-04 21:41:36 UTC (rev 12209)
+++ trunk/blender/source/blender/src/interface.c	2007-10-05 09:03:37 UTC (rev 12210)
@@ -482,6 +482,7 @@
 		}
 		else {
 			ui_set_but_val(but, but_copypaste_val);
+			uibut_do_func(but);
 			ui_check_but(but);
 			return 1;
 		}





More information about the Bf-blender-cvs mailing list