diff options
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); |
