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:
authorCampbell Barton <ideasman42@gmail.com>2012-01-24 19:37:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-24 19:37:50 +0400
commit58c51bb551fbc573f3e570b9365ac309568973be (patch)
tree95a9e57ee23edaab7c78a2ea75d135e01ada7263 /source/blender/editors/space_time
parent925234f1e07fd445d67dd0ca3fb66a11e4a5c164 (diff)
quiet some warnings & (possible/unlikely error)
Diffstat (limited to 'source/blender/editors/space_time')
-rw-r--r--source/blender/editors/space_time/space_time.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c
index 65ef3273e30..bf1b1ddc18a 100644
--- a/source/blender/editors/space_time/space_time.c
+++ b/source/blender/editors/space_time/space_time.c
@@ -193,6 +193,10 @@ static void time_draw_cache(SpaceTime *stime, Object *ob)
col[0] = 1.0; col[1] = 0.1; col[2] = 0.75;
col[3] = 0.1;
break;
+ default:
+ BLI_assert(0);
+ col[0] = 1.0; col[1] = 0.0; col[2] = 1.0;
+ col[3] = 0.1;
}
glColor4fv(col);