summaryrefslogtreecommitdiff
path: root/rotord/src/rotor.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/rotor.h')
-rwxr-xr-xrotord/src/rotor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h
index a247c66..7a26a5b 100755
--- a/rotord/src/rotor.h
+++ b/rotord/src/rotor.h
@@ -606,9 +606,9 @@ namespace Rotor {
break;
case BLEND_blend: //has to be last because of initialser of *in? go figure
image*=(1.0f-parameters["amount"]->value);
- Image *in=(*in2)*parameters["amount"]->value;
- image+=(*in);
- delete in;
+ Image in=(*in2);
+ in*=parameters["amount"]->value;
+ image+=in;
break;
}
return ℑ