diff options
Diffstat (limited to 'rotord')
| -rw-r--r-- | rotord/src/nodes_channels.h | 1 | ||||
| -rw-r--r-- | rotord/src/rotor.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/rotord/src/nodes_channels.h b/rotord/src/nodes_channels.h index 3b3fa70..7e5b507 100644 --- a/rotord/src/nodes_channels.h +++ b/rotord/src/nodes_channels.h @@ -373,6 +373,7 @@ namespace Rotor { apply_LUT(in,image); } void apply_LUT(const Image& in,Image &out){ //facility to apply to other images for inherited classes + if (in.w==0) cerr<<type<<" node "<<ID<<" requesting 0 size LUT "<<endl; out.setup(in.w,in.h); for (int i=0;i<out.w*out.h*3;i++){ out.RGBdata[i]=LUT[in.RGBdata[i]]; diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index f54f80d..608f02a 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -127,6 +127,14 @@ inputs: [ so there needs to be a hook for this + if (images[absframe]->w==0) cerr<<type<<" node "<<ID<<" requesting 0 size image "<<endl; + + where is 0x0 image setup coming from? + its from operator= in cvImage + + what is setting image=otherimage where otherimage isn't initialised? + its NOT echo trails afaik + -------------------------*/ |
