From c52e24e5c1d0f2b90412826dece31f1604f26683 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 10 Sep 2013 16:01:12 +0100 Subject: stop alloc in blend node --- rotord/src/rotor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rotord/src/rotor.h') diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index d59197a..009d52f 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -613,7 +613,7 @@ namespace Rotor { image+=(*in); delete in; */ - Image in=(*in2); + in=(*in2); in*=parameters["amount"]->value; image+=in; break; @@ -626,6 +626,7 @@ namespace Rotor { return nullptr; } private: + Image in; }; #define MIRROR_horiz 1 #define MIRROR_vert 2 -- cgit v1.2.3