Re: Procedural call to undo?

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

 



On Mon, May 11, 2009 at 12:31 PM, gg <gg@xxxxxxxxxxx> wrote:
> peter sikking wrote:
>> David Hodson wrote:
>>
>>> That's true, but how does that make undo different from many other
>>> functions?
>>
>> undo involves user having a change of heart.
>>
>> a script cannot have a change of heart.
>>
> No but it can have a conditional execution path dependant on the result
> of a previous command.
>
> resize image
> save test.png
> if (size of file) > 4GB undo resize.

Bit shouldn't that really be:

get image size/depth
calculate target image size
if (target size < 4GB) resize image
?

I agree that Undo should be reserved for human use...

Chris
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux