diff options
| author | Comment <tim@gray.(none)> | 2013-08-16 00:56:32 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-08-16 00:56:32 +0100 |
| commit | 1af93fbfe4c8cfa214331d2d96327637ffe749bf (patch) | |
| tree | f452a61b83e16993c5b4702f3a46c85d7d0829b6 /rotord/src/nodes_drawing.h | |
| parent | f91c866884819bee50b39b7b370209ef6b94ec53 (diff) | |
adding render log
Diffstat (limited to 'rotord/src/nodes_drawing.h')
| -rw-r--r-- | rotord/src/nodes_drawing.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rotord/src/nodes_drawing.h b/rotord/src/nodes_drawing.h index c44527d..91771f8 100644 --- a/rotord/src/nodes_drawing.h +++ b/rotord/src/nodes_drawing.h @@ -21,6 +21,7 @@ namespace Rotor { if (in){ image=(*in); } + else image.clear(); //convert to 32 bit - this can probably be optimised further cv::Mat chans; cv::cvtColor(image.rgb, chans, CV_BGR2RGBA, 4); |
