Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2008-12-04 23:28:59 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-12-04 23:28:59 +0300
commitb087c8adf2ce7a3fb4709a6e7fe00192a8972e17 (patch)
tree7cc05236247589080c6715b1e20d9ba01b4aa5ee /source/blender/blenloader
parent2e517db96a0b7a4b516ab09ae3c0bc27ad24bd3a (diff)
* rename some view2d defines to be clearer and more in line with the rest of view2d defines.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 70e06627449..89fe51b0069 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5074,8 +5074,8 @@ static void do_versions_windowmanager_2_50(bScreen *screen)
SpaceOops *soops= sa->spacedata.first;
memcpy(&ar->v2d, &soops->v2d, sizeof(View2D));
- ar->v2d.scroll &= ~L_SCROLL;
- ar->v2d.scroll |= R_SCROLL;
+ ar->v2d.scroll &= ~V2D_SCROLL_LEFT;
+ ar->v2d.scroll |= V2D_SCROLL_RIGHT;
}
break;
case SPACE_TIME:
@@ -5083,7 +5083,7 @@ static void do_versions_windowmanager_2_50(bScreen *screen)
SpaceTime *stime= sa->spacedata.first;
memcpy(&ar->v2d, &stime->v2d, sizeof(View2D));
- ar->v2d.scroll |= (B_SCROLL|BGRID_SCROLL);
+ ar->v2d.scroll |= (V2D_SCROLL_BOTTOM|V2D_SCROLL_SCALE_BOTTOM);
ar->v2d.keepofs |= V2D_LOCKOFS_Y;
}
break;