diff options
Diffstat (limited to 'rotord/src/rotor.h')
| -rw-r--r-- | rotord/src/rotor.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index fbefa66..d59197a 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -605,11 +605,17 @@ namespace Rotor { image=image.add_wrap(*in2); break; case BLEND_blend: //has to be last because of initialser of *in? go figure - //problem here with leak + image*=(1.0f-parameters["amount"]->value); + /* //problem here with leak + //opencv handles not being released Image *in=(*in2)*parameters["amount"]->value; image+=(*in); delete in; + */ + Image in=(*in2); + in*=parameters["amount"]->value; + image+=in; break; } return ℑ |
