[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21006] branches/soc-2009-aligorith/source /blender: NLA SoC: Bugfixes

Joshua Leung aligorith at gmail.com
Fri Jun 19 13:56:54 CEST 2009


Revision: 21006
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21006
Author:   aligorith
Date:     2009-06-19 13:56:53 +0200 (Fri, 19 Jun 2009)

Log Message:
-----------
NLA SoC: Bugfixes

* Loading old Action Editors resulted in wrong view settings being used
* Wrong operator names used in previous commit...

Modified Paths:
--------------
    branches/soc-2009-aligorith/source/blender/blenloader/intern/readfile.c
    branches/soc-2009-aligorith/source/blender/editors/space_nla/nla_header.c

Modified: branches/soc-2009-aligorith/source/blender/blenloader/intern/readfile.c
===================================================================
--- branches/soc-2009-aligorith/source/blender/blenloader/intern/readfile.c	2009-06-19 11:17:56 UTC (rev 21005)
+++ branches/soc-2009-aligorith/source/blender/blenloader/intern/readfile.c	2009-06-19 11:56:53 UTC (rev 21006)
@@ -5755,7 +5755,7 @@
 				ar->v2d.scroll = (V2D_SCROLL_BOTTOM|V2D_SCROLL_SCALE_HORIZONTAL);
 				ar->v2d.scroll |= (V2D_SCROLL_RIGHT);
 				ar->v2d.keepzoom= V2D_LOCKZOOM_Y;
-				ar->v2d.align= V2D_ALIGN_NO_NEG_Y;
+				ar->v2d.align= V2D_ALIGN_NO_POS_Y;
 				ar->v2d.flag = V2D_VIEWSYNC_AREA_VERTICAL;
 				break;
 			}

Modified: branches/soc-2009-aligorith/source/blender/editors/space_nla/nla_header.c
===================================================================
--- branches/soc-2009-aligorith/source/blender/editors/space_nla/nla_header.c	2009-06-19 11:17:56 UTC (rev 21005)
+++ branches/soc-2009-aligorith/source/blender/editors/space_nla/nla_header.c	2009-06-19 11:56:53 UTC (rev 21006)
@@ -146,8 +146,8 @@
 	uiItemO(layout, NULL, 0, "NLA_OT_add_tracks");
 	uiItemBooleanO(layout, "Add Tracks Above Selected", 0, "NLA_OT_add_tracks", "above_selected", 1);
 	
-	uiItemO(layout, NULL, 0, "NLA_OT_add_actionclip");
-	uiItemO(layout, NULL, 0, "NLA_OT_add_transition");
+	uiItemO(layout, NULL, 0, "NLAEDIT_OT_add_actionclip");
+	uiItemO(layout, NULL, 0, "NLAEDIT_OT_add_transition");
 	
 	uiItemO(layout, NULL, 0, "NLAEDIT_OT_split");
 	





More information about the Bf-blender-cvs mailing list