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
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-10-03 01:40:57 +0400
committerTon Roosendaal <ton@blender.org>2005-10-03 01:40:57 +0400
commit6d52a829ef18c4b07a93312cd8c872d147337f37 (patch)
tree34085ef4823e50e02f66bb290c4ff47de7294306 /source
parent2f590af596a574554cb02607b6f5df8224286563 (diff)
Bug fix; action editor, inserting mesh keys crashed. Referencing ipo stuff.
(yes, studio orange is testing :)
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/drawipo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/drawipo.c b/source/blender/src/drawipo.c
index 1b48538d5f5..3890af122bf 100644
--- a/source/blender/src/drawipo.c
+++ b/source/blender/src/drawipo.c
@@ -787,7 +787,7 @@ void drawscroll(int disptype)
scroll_prstr(fac, 3.0+(float)(hor.ymin), fac2, 'h', disptype);
}
}
- else { /* space ipo */
+ else if (curarea->spacetype==SPACE_IPO) {
EditIpo *ei= get_active_editipo();
if(ei && ei->icu && ei->icu->driver) {
@@ -802,6 +802,9 @@ void drawscroll(int disptype)
else
scroll_prstr(fac, 3.0+(float)(hor.ymin), val, 'h', disptype);
}
+ else {
+ scroll_prstr(fac, 3.0+(float)(hor.ymin), val, 'h', disptype);
+ }
fac+= dfac;
val+= ipogrid_dx;