diff --git a/src/Scripting/NasalCanvas.cxx b/src/Scripting/NasalCanvas.cxx index f9237e2a1..602f06989 100644 --- a/src/Scripting/NasalCanvas.cxx +++ b/src/Scripting/NasalCanvas.cxx @@ -534,7 +534,8 @@ naRef initNasalCanvas(naRef globals, naContext c) NasalImage::init("canvas.Image") .bases() .method("fillRect", &f_imageFillRect) - .method("setPixel", &f_imageSetPixel); + .method("setPixel", &f_imageSetPixel) + .method("dirtyPixels", &sc::Image::dirtyPixels); //---------------------------------------------------------------------------- // Layouting