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:
authorTon Roosendaal <ton@blender.org>2005-01-31 21:37:54 +0300
committerTon Roosendaal <ton@blender.org>2005-01-31 21:37:54 +0300
commit78f133b8a7bc1db280d5d052bf83d7ea959cd1cb (patch)
treed11f1a84c75be2820736e60239206cac4312ef93 /source/blender/include/BSE_drawipo.h
parent732f608e33df86e973fa3f3c5059a3be0c6cea67 (diff)
Bug found by Bassam; in certain occasions reading a file calls setscreen()
without the (ugly) global curarea being set. Fixed the crash in his sample by nicely passing on 'current area' as argument.
Diffstat (limited to 'source/blender/include/BSE_drawipo.h')
-rw-r--r--source/blender/include/BSE_drawipo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/include/BSE_drawipo.h b/source/blender/include/BSE_drawipo.h
index 298d15c19ba..656f05a7b43 100644
--- a/source/blender/include/BSE_drawipo.h
+++ b/source/blender/include/BSE_drawipo.h
@@ -55,7 +55,7 @@ void ipoco_to_areaco_noclip (struct View2D *v2d, float *vec, short *mval);
void view2d_zoom (struct View2D *v2d, float factor, int winx, int winy);
void test_view2d (struct View2D *v2d, int winx, int winy);
-void calc_scrollrcts (struct View2D *v2d, int winx, int winy);
+void calc_scrollrcts (struct ScrArea *sa, struct View2D *v2d, int winx, int winy);
int in_ipo_buttons(void);
void drawscroll(int disptype);