[gimp/gimp-2-10] plug-ins: fix previous commit, bumpmap should be bumpmap_id



commit 672931b39da4816e85c49534a34bc04ac625cf64
Author: Jacob Boerema <jgboerema gmail com>
Date:   Fri Dec 17 12:49:21 2021 -0500

    plug-ins: fix previous commit, bumpmap should be bumpmap_id

 plug-ins/lighting/lighting-image.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/lighting/lighting-image.c b/plug-ins/lighting/lighting-image.c
index 00d8abc595..671176fded 100644
--- a/plug-ins/lighting/lighting-image.c
+++ b/plug-ins/lighting/lighting-image.c
@@ -387,7 +387,7 @@ bumpmap_setup (gint32 bumpmap_id)
     {
       if (! bump_buffer)
         {
-          bump_buffer = gimp_drawable_get_buffer (bumpmap);
+          bump_buffer = gimp_drawable_get_buffer (bumpmap_id);
         }
 
       if (gimp_drawable_is_rgb (bumpmap_id))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]