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:
authorJoshua Leung <aligorith@gmail.com>2007-02-11 07:02:17 +0300
committerJoshua Leung <aligorith@gmail.com>2007-02-11 07:02:17 +0300
commit045c40b815f862772cad042e346821539aa52cea (patch)
tree72084cb645da92140d6908067c94b728116c2fd3 /source/blender/src/drawsound.c
parentb90a0ce285a3a71c2a6e617baabc08fe11624c7f (diff)
Tiny cleanups of marker drawing code. Shouldn't cause any problems.
Diffstat (limited to 'source/blender/src/drawsound.c')
-rw-r--r--source/blender/src/drawsound.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/src/drawsound.c b/source/blender/src/drawsound.c
index c4849556683..1fe10bf2c17 100644
--- a/source/blender/src/drawsound.c
+++ b/source/blender/src/drawsound.c
@@ -189,7 +189,6 @@ static void draw_cfra_sound(SpaceSound *ssound)
void drawsoundspace(ScrArea *sa, void *spacedata)
{
- SpaceSound *ssound;
float col[3];
short ofsx, ofsy;
@@ -219,9 +218,8 @@ void drawsoundspace(ScrArea *sa, void *spacedata)
draw_sample(G.ssound->sound->sample);
}
- ssound= spacedata;
- draw_cfra_sound(ssound);
- draw_markers_timespace(&(ssound->v2d));
+ draw_cfra_sound(spacedata);
+ draw_markers_timespace();
/* restore viewport */
mywinset(curarea->win);