Page 1 of 1
manipulate bones auto deselect on non bone layer
Posted: Wed Jun 29, 2011 7:48 pm
by xothermik
hi every one. i have been using the manipulate bones custom tool for anime studio for some time now and i find it great for my work particularly on keying all bone channels or the freeze pose feature. the only problem i seem to have with the script is that unlike the native anime studio bone tools, it doesn't seem to deselect automatically when you are not on a bone layer. and usually when its the active tool and you accidentally do click or do something on a non bone layer, there is a error message pop up in the script window. i have tried to analyze the normal bone scripts and the manipulate bone script to see if i can find the particular command responsible for the auto deselection so i might try to copy it to the manipulate bones script and hopefully successfully enhance it but my efforts are so far futile. scripting is not really of my strong points so i was wondering if any of the code astute on the forum can help me out with this conundrum.
Re: manipulate bones auto deselect on non bone layer
Posted: Thu Jun 30, 2011 1:01 am
by jahnocli
xothermik wrote:hi every one. i have been using the manipulate bones custom tool for anime studio for some time now and i find it great for my work particularly on keying all bone channels or the freeze pose feature. the only problem i seem to have with the script is that unlike the native anime studio bone tools, it doesn't seem to deselect automatically when you are not on a bone layer. and usually when its the active tool and you accidentally do click or do something on a non bone layer, there is a error message pop up in the script window. i have tried to analyze the normal bone scripts and the manipulate bone script to see if i can find the particular command responsible for the auto deselection so i might try to copy it to the manipulate bones script and hopefully successfully enhance it but my efforts are so far futile. scripting is not really of my strong points so i was wondering if any of the code astute on the forum can help me out with this conundrum.
Two sentences. Wow.
Posted: Thu Jun 30, 2011 1:08 am
by ponysmasher
Is it my custom bone script you're using? (ds_manipulate_bones)
If so, what version of AS are you using? I don't get any error messages in AS 7 or 8.
The latest version of my script can be found
here
Posted: Thu Jun 30, 2011 4:03 pm
by xothermik
Is it my custom bone script you're using? (ds_manipulate_bones)
If so, what version of AS are you using? I don't get any error messages in AS 7 or 8.
yes it is your script. who better to help than the person who wrote it i guess. i use AS7 but im about upgrading to 8. you are right the latest version is more stable. i say more because i still get an error message when i click on a switch layer and try to scrub the timeline. where as the older version i was using would give an error when you click any kind of layer other than a bone layer. the down side to this is that while working i now have to remember to select any other tool other than the manipulate bones tool when i want to click on a switch layer. its already my favorite script and would certainly find it more efficient to use if anyone could just get it to deselect automatically when you are not working on a bone layer like the other bone tools.
Posted: Fri Jul 01, 2011 3:24 am
by ponysmasher
I can't get any error message to appear. Can you give me a step by step of how to replicate it? And also the error message that appears.
Posted: Fri Jul 01, 2011 5:25 am
by xothermik
im not on my computer at the moment. will do that later when i get home.
Posted: Wed Jul 06, 2011 9:47 pm
by xothermik
what it basically does on my computer is that when you have the manipulate bones active, the moment you click on a switch layer all hell breaks loose. here's the error messag i get
Code: Select all
............\ds_manipulate_bones.lua:186: attempt to index local 'bone' (a nil value)
Posted: Fri Dec 02, 2011 12:37 pm
by xothermik
Hello!
Can anyone please help here. The error messages are killing me!
