diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-12-26 23:44:27 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-12-26 23:44:27 +0300 |
commit | 5fdda0bb050ac7b4cb091ae824f319a4db7d9004 (patch) | |
tree | 00eb8409bf6f54881e19b8bd4607a1a3e5087d3d /source/blender/editors/space_node | |
parent | ec66752f491c7938b15321f90a249612e9fa5609 (diff) |
2.5
* when tracking a crasher I did svn update to specific revisions, updating back and forth somehow made some of my changes disappear in bitheaven. Bringing back aspect once again (rest of todays commit will follow soon).
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r-- | source/blender/editors/space_node/node_draw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index fe7181399e5..38c367112d6 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -1068,6 +1068,7 @@ void drawnodespace(const bContext *C, ARegion *ar, View2D *v2d) float col[3]; View2DScrollers *scrollers; SpaceNode *snode= (SpaceNode*)CTX_wm_space_data(C); + ScrArea *sa= CTX_wm_area(C); UI_GetThemeColor3fv(TH_BACK, col); glClearColor(col[0], col[1], col[2], 0); @@ -1086,7 +1087,7 @@ void drawnodespace(const bContext *C, ARegion *ar, View2D *v2d) glEnable(GL_MAP1_VERTEX_3); /* aspect+font, set each time */ - //snode->aspect= (snode->v2d.cur.xmax - snode->v2d.cur.xmin)/((float)sa->winx); + snode->aspect= (v2d->cur.xmax - v2d->cur.xmin)/((float)sa->winx); //snode->curfont= uiSetCurFont_ext(snode->aspect); UI_view2d_constant_grid_draw(C, v2d); |