[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12043] trunk/blender/source/blender/imbuf /intern/imageprocess.c: == Sequencer ==
Peter Schlaile
peter at schlaile.de
Sat Sep 15 20:54:03 CEST 2007
Revision: 12043
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12043
Author: schlaile
Date: 2007-09-15 20:54:03 +0200 (Sat, 15 Sep 2007)
Log Message:
-----------
== Sequencer ==
Bugfix for transform effect by Damiles.
Fixes crash with float buffers. (Don't try to render into output buffers,
that do not exist...)
Modified Paths:
--------------
trunk/blender/source/blender/imbuf/intern/imageprocess.c
Modified: trunk/blender/source/blender/imbuf/intern/imageprocess.c
===================================================================
--- trunk/blender/source/blender/imbuf/intern/imageprocess.c 2007-09-15 18:12:16 UTC (rev 12042)
+++ trunk/blender/source/blender/imbuf/intern/imageprocess.c 2007-09-15 18:54:03 UTC (rev 12043)
@@ -105,8 +105,8 @@
if (in == NULL) return;
if (in->rect == NULL && in->rect_float == NULL) return;
- do_rect= (in->rect != NULL);
- do_float= (in->rect_float != NULL);
+ do_rect= (out->rect != NULL);
+ do_float= (out->rect_float != NULL);
i= (int)floor(x);
j= (int)floor(y);
@@ -170,8 +170,8 @@
if (in==NULL) return;
if (in->rect==NULL && in->rect_float==NULL) return;
- do_rect= (in->rect != NULL);
- do_float= (in->rect_float != NULL);
+ do_rect= (out->rect != NULL);
+ do_float= (out->rect_float != NULL);
x1= (int)floor(u);
x2= (int)ceil(u);
@@ -246,8 +246,8 @@
if (in==NULL) return;
if (in->rect==NULL && in->rect_float==NULL) return;
- do_rect= (in->rect != NULL);
- do_float= (in->rect_float != NULL);
+ do_rect= (out->rect != NULL);
+ do_float= (out->rect_float != NULL);
x1= (int)(u);
y1= (int)(v);
More information about the Bf-blender-cvs
mailing list