summaryrefslogtreecommitdiff
path: root/rotord/src
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-09-10 16:01:12 +0100
committerTim Redfern <tim@eclectronics.org>2013-09-10 16:01:12 +0100
commitc52e24e5c1d0f2b90412826dece31f1604f26683 (patch)
treed87aa2fa008f2a6ed46628af0f72342f1ce3436c /rotord/src
parent449a223a426099be9b697177c998fa62afbb7c59 (diff)
stop alloc in blend node
Diffstat (limited to 'rotord/src')
-rw-r--r--rotord/src/rotor.h3
1 files changed, 2 insertions, 1 deletions
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