# HG changeset patch # User sam # Date 1724678669 -25200 # Node ID 18eff4d97ab0692dd5481813e327a122b2e14fb9 # Parent edb0b650fc5fd04aade157bf8cb3f64911c99cf0 fix: stupidity diff -r edb0b650fc5f -r 18eff4d97ab0 semicongine/image.nim --- a/semicongine/image.nim Mon Aug 26 19:39:12 2024 +0700 +++ b/semicongine/image.nim Mon Aug 26 20:24:29 2024 +0700 @@ -111,7 +111,7 @@ assert image.height == imageArray.height, "Image needs to have same dimension as ImageArray to be added" - inc image.nLayers + inc imageArray.nLayers imageArray.data.add image.data proc loadImageArray*[T: PixelType](