It is currently Mon Apr 15, 2024 8:00 am


All times are UTC - 5 hours [ DST ]


Switch to mobile style

Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: [Q] A small script mod concerning layer names?
PostPosted: Tue Aug 12, 2014 12:22 pm  (#1) 
Offline
GimpChat Member

Joined: Jul 19, 2014
Posts: 31
I'm using Will's Merge Animation script. It's a good script, but it deletes all my layer names.

The offending line is this one:
(gimp-drawable-set-name templayer1 (string-append "Frame " (number->string (+ 1 counter))))

Does anyone know how to change it so that the script retains the name of the lower layer in each merge operation?

Thanks :)


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: [Q] A small script mod concerning layer names?
PostPosted: Tue Aug 12, 2014 1:22 pm  (#2) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Just comment out that line of code by placing a ; in front, save it and refresh scripts (or restart GIMP). It will retain the original layer names.

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: [Q] A small script mod concerning layer names?
PostPosted: Sun Aug 02, 2015 11:09 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jun 08, 2015
Posts: 36
:paint was used Will's Merge Animation script. Very useful for creating animations


Attachments:
good morning.gif
good morning.gif [ 1.37 MiB | Viewed 2011 times ]

_________________
Image
Top
 Post subject: Re: [Q] A small script mod concerning layer names?
PostPosted: Sun Aug 02, 2015 11:18 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Very nice skritnaea.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: [Q] A small script mod concerning layer names?
PostPosted: Mon Aug 03, 2015 1:04 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12636
Location: Spain, Aragón
I like that skritnaea, Perfectly done even in detail ! :)

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
 Post subject: Re: [Q] A small script mod concerning layer names?
PostPosted: Mon Aug 03, 2015 6:34 am  (#6) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7710
Location: On the other side of this screen
Well done. I'm not into making animations but I like them when well done. :)

_________________


Top
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts How do I script a new white layer to the bottom of the layer stack

7

No new posts Attachment(s) choice of pattern names

13

No new posts script to load text file and create text layer

6

No new posts Attachment(s) Adding a image as a layer, moving layer, and then flattening

2

No new posts Shortcuts to 2.10 documentation re: Layer & Layer-group modes

0



* Login  



Powered by phpBB3 © phpBB Group