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-03-05 17:06:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-03-05 17:06:39 +0300
commitf4298de8aaafd36cb8da6f7051c24ca630589001 (patch)
tree8f5f0b2b6879bbb956ab4224ec51a7bf5b8d9e35 /source/blender/editors/space_sequencer/sequencer_draw.c
parent19154014b8a87f1f63f5d75d6983adc5fa6dbc7f (diff)
utility function object_camera_matrix, moved code from RE_SetCamera into this.
use for getting the render matrix of a camera (view plane, winmat, clipstart/end) without rendering.
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_draw.c')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c
index c1a023d0009..41e2fe2b124 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -678,7 +678,7 @@ void draw_image_seq(const bContext* C, Scene *scene, ARegion *ar, SpaceSeq *sseq
recty = viewrecty + 0.5f;
if (sseq->mainb == SEQ_DRAW_IMG_IMBUF) {
- viewrectx *= (float)scene->r.xasp / (float)scene->r.yasp;
+ viewrectx *= scene->r.xasp / scene->r.yasp;
viewrectx /= proxy_size / 100.0;
viewrecty /= proxy_size / 100.0;
}