Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
re-coloured pixels hide confusingly
#4
(Yesterday, 11:27 AM)cjel Wrote: ... Perhaps I've found a bug?

Possibly. I've just tried the following lines in the Script-fu console in both V3.0.8 and 3.2.0 rc 2 with the same results - the call of gimp-displays-flush has no effect:
Code:
(gimp-get-images)
(gimp-image-get-selected-drawables 1)
(gimp-drawable-set-pixel 2 1 2 '(0 0 0 0))
(gimp-displays-flush)

As a work-around you could add the following:

Code:
(gimp-item-set-visible 2 FALSE)
(gimp-item-set-visible 2 TRUE)


Calling  (gimp-image-is-dirty 1) after setting the pixel returns a value of 0 (in V3.2.0 rc 2) - so it looks as though this is a bug where the set pixel function isn't setting the dirty flag.
Reply


Messages In This Thread
re-coloured pixels hide confusingly - by cjel - 02-26-2026, 08:58 AM
RE: re-coloured pixels hide confusingly - by programmer_ceds - Yesterday, 01:04 PM

Forum Jump: