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:
authorPeter Schlaile <peter@schlaile.de>2006-06-10 23:56:28 +0400
committerPeter Schlaile <peter@schlaile.de>2006-06-10 23:56:28 +0400
commitc4229b0272ac223e3723773321ce9263ef858607 (patch)
tree1f9ea6ba659b09eac7532924b3591aa3770242d2 /source/blender/imbuf/intern/rectop.c
parent43e776690f651f941b2612d94a943398e3518de2 (diff)
==Sequencer==
Fixed the blur-plugin (and maybe a lot more) crashes by expecting future float-buffer aware sequencer-plugins to have a bumped PLUGIN_VERSION number. Since quality and speed is degraded by converting the float buffer first to byte, performing the effect on bytes and then converting back again an additional warning is displayed in the effect strip, suggesting to update the used sequencer-plugins. Fixed some more crashes along the way. Float buffer aware sequencer plugins should - first check, if the output-ibuf has a rect_float => perform all operations with floats (input and output) - if not: perform everything on bytes (intput and output)
Diffstat (limited to 'source/blender/imbuf/intern/rectop.c')
-rw-r--r--source/blender/imbuf/intern/rectop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/rectop.c b/source/blender/imbuf/intern/rectop.c
index c764d06b500..1b806b8fa1f 100644
--- a/source/blender/imbuf/intern/rectop.c
+++ b/source/blender/imbuf/intern/rectop.c
@@ -51,7 +51,7 @@ void IMB_rectcpy(struct ImBuf *dbuf, struct ImBuf *sbuf, int destx,
if (dbuf == NULL) return;
- if (sbuf->rect_float) do_float = 1;
+ if (sbuf && sbuf->rect_float && dbuf->rect_float) do_float = 1;
if (destx < 0){
srcx -= destx ;