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>2014-05-06 22:35:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-05-06 22:35:55 +0400
commit182179a44b09564603f424b8be75043578fd0c61 (patch)
tree4466028b62070261ee4b92cc3a0c6f9db4304e99 /source/blender/editors/space_time
parentf300c158b92452d00c08ebcd0eb08ac23d28c69e (diff)
Cleanup: redundant NULL checks
Diffstat (limited to 'source/blender/editors/space_time')
-rw-r--r--source/blender/editors/space_time/space_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c
index a363fae093b..2fd4b0bc21d 100644
--- a/source/blender/editors/space_time/space_time.c
+++ b/source/blender/editors/space_time/space_time.c
@@ -346,7 +346,7 @@ static void time_draw_keyframes(const bContext *C, ARegion *ar)
* - don't try to do this when only drawing active/selected data keyframes,
* since this can become quite slow
*/
- if (scene && onlysel == 0) {
+ if (onlysel == 0) {
/* set draw color */
glColor3ub(0xDD, 0xA7, 0x00);
time_draw_idblock_keyframes(v2d, (ID *)scene, onlysel);