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>2010-07-17 17:29:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-17 17:29:55 +0400
commit22c6b7d174ec7158acc526821b002d9703cf4f56 (patch)
tree68ac54748cefe19c105709230be79e1deb7b6812 /source/blender/editors/space_sequencer/sequencer_draw.c
parent30b712ed68dd72583357180741e845efb5952ad9 (diff)
PNG Compression can now be set, writing uncompressed PNG's is significantly faster for high resolution images - 2k.
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_draw.c')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_draw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c
index 221e144ed60..62fe9dc96b7 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -850,8 +850,6 @@ void draw_image_seq(const bContext* C, Scene *scene, ARegion *ar, SpaceSeq *sseq
/* border */
setlinestyle(3);
- glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
-
UI_ThemeColorBlendShade(TH_WIRE, TH_BACK, 1.0, 0);
glBegin(GL_LINE_LOOP);
@@ -873,14 +871,16 @@ void draw_image_seq(const bContext* C, Scene *scene, ARegion *ar, SpaceSeq *sseq
y1+= a;
y2-= a;
+ glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
+
uiSetRoundBox(15);
gl_round_box(GL_LINE_LOOP, x1, y1, x2, y2, 12.0);
+ glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
+
}
setlinestyle(0);
-
- glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
}
/* draw grease-pencil (image aligned) */