Welcome,
Guest
. Please
login
or
register
.
June 17, 2026, 05:09:04 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Sprite dimensions/padding/border reset upon building atlas
« previous
next »
Print
Pages: [
1
]
Author
Topic: Sprite dimensions/padding/border reset upon building atlas (Read 4811 times)
doppio
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 8
Sprite dimensions/padding/border reset upon building atlas
«
on:
May 01, 2013, 06:27:24 PM »
I notice that every time I receive a menu update from an artist and I rebuild my atlas, the options (dimensions/border/padding) I've set on all the sprites get reset. Is there any way to have these preferences adjust themselves when the atlas is rebuilt? Or is this something that has been added in a recent version? It's a huge pain to have to go back and make adjustments on each sprite every time I want to update a single element on the menu.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Sprite dimensions/padding/border reset upon building atlas
«
Reply #1 on:
May 02, 2013, 03:57:20 AM »
Sounds like your artist is nuking all the information every time. NGUI keeps all the data if you update an existing atlas. It won't keep the info if you completely re-create the atlas. Check with your artist and teach him to update instead of re-create.
Logged
doppio
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 8
Re: Sprite dimensions/padding/border reset upon building atlas
«
Reply #2 on:
May 02, 2013, 01:31:58 PM »
Actually, I'm the one updating the atlas. I don't completely recreate it, I use "Add/Update All" button. Is there some other way to do it?
Could it be because this project is still running a ~5-month old copy of NGUI?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Sprite dimensions/padding/border reset upon building atlas
«
Reply #3 on:
May 03, 2013, 10:05:10 AM »
Possibly. If you update, all the border info is kept as-is.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Sprite dimensions/padding/border reset upon building atlas