Uniform Layer Scale works just like the original Layer Scale tool, with the addition of a tick-box that let you scale one axis numerical and have the others scale automatic to preserve the proportions of the layer.
To install, just put the files in the scripts/tool folder. If you want to replace the old scale layer tool, open _tool_list.txt and change "lm_scale_layer" to "DR_uni_scale_layer", else it will be put in the "Other" group in the Toolbar.
This is my first attempt at lua-scripting so the code might not look very pretty, but it's working as it should (at least I think so, I've been testing it quite a lot without finding any faults or bugs). Let me know if you find this useful.
Uniform Layer Scale (new script)
Moderators: Víctor Paredes, Belgarath, slowtiger
THANK YOU new scripter!!! (we really need you
) I asked for something like this in the past and is a very good new to me see like the dreams come true
...Only one thing, seems like the Rigth Mouse Button click and drag function in numerical box has a weird results, can be? Well, I'll go on trying, anyway... VERY GOOD JOB! 



Last edited by Rai López on Tue Sep 13, 2005 2:46 pm, edited 1 time in total.
For me it works without any problem at all. What happens when you right-click and drag? (Gosh, I didn't even know about this click-n'-drag function until now. I've said it before, and I say it again; Moho is like the game Othello - I minute to learn, a lifetime to master. I thought for sure this time that I knew everything in moho, but I see now what a fool I've been...)Only one thing, seems like the Rigth Mouse Button click and drag function in numerical box has a weird results, can be?
Thanks Rylleman for this great script!
Last edited by Hiddicop on Mon Sep 05, 2005 6:47 pm, edited 1 time in total.
oops... (too) I didn't see this post, so...rylleman wrote: Well, I have to figure out why it's doing that and fix it.




I haven't figured out yet how to fix this, but I have found some other bugs so the script isn't working quite as I'd expect (doesn't scale skeletons properly). Well, have to do a version 1.1 soon.Ramón López wrote: I wanted to "analize" the guts of your script to see what could I do with the other Scale Points tool
By all means, feel free to analyse as much as you like.
Re: Uniform Layer Scale (new script)
Thanks rylleman!rylleman wrote:Uniform Layer Scale works just like the original Layer Scale tool, with the addition of a tick-box that let you scale one axis numerical and have the others scale automatic to preserve the proportions of the layer.

