X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fscenegraph.C;h=70513d88d854f07590dc584ab43bebbfcff110b7;hb=540f653df26e5e2d1249de1f7a1a3d888dddf341;hp=a8098e12ef766a7e6a135eef021b4e027261efd9;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/scenegraph.C b/cinelerra-5.1/cinelerra/scenegraph.C index a8098e12..70513d88 100644 --- a/cinelerra-5.1/cinelerra/scenegraph.C +++ b/cinelerra-5.1/cinelerra/scenegraph.C @@ -146,9 +146,7 @@ void SceneNode::render(VFrame *frame, int do_camera) // Render everything into a temporary, then overlay the temporary // if(!EQUIV(ry, 0) || get_flip()) // { - temp = new VFrame(image->get_w(), - image->get_h(), - image->get_color_model()); + temp = new VFrame(image->get_w(), image->get_h(), image->get_color_model(), 0); // } if(debug) printf("SceneNode::render %d\n", __LINE__); @@ -169,14 +167,9 @@ void SceneNode::render(VFrame *frame, int do_camera) VFrame *src = temp; if(!EQUIV(ry, 0)) { - src = temp2 = new VFrame(image->get_w(), - image->get_h(), - image->get_color_model()); - if(!scene->affine) scene->affine = - new AffineEngine(scene->cpus, scene->cpus); - scene->affine->rotate(temp2, - temp, - ry); + src = temp2 = new VFrame(image->get_w(), image->get_h(), image->get_color_model(), 0); + if(!scene->affine) scene->affine = new AffineEngine(scene->cpus, scene->cpus); + scene->affine->rotate(temp2, temp, ry); if(debug) printf("SceneNode::render %d ry=%f\n", __LINE__, ry); } @@ -185,13 +178,7 @@ void SceneNode::render(VFrame *frame, int do_camera) src->flip_horiz(); if(debug) printf("SceneNode::render %d src=%p x=%f y=%f sx=%f sy=%f\n", - __LINE__, - src, - x, - y, - sx, - sy); - + __LINE__, src, x, y, sx, sy); // Overlay on the output frame if(!scene->overlayer) scene->overlayer = new OverlayFrame(scene->cpus);