Anim8or Community

General Category => Anim8or v1.0 Discussion Forum => Topic started by: kreator on January 08, 2018, 12:48:46 pm

Title: Controller scripts not saving in Project
Post by: kreator on January 08, 2018, 12:48:46 pm
Have been working with NickE,s tread script


.I create a morph to control the tread movement, in scene mode I go to the morph in the timeline click on the applicable morph which gives me the key value editor turn on expression, click edit then add the script, I exit the editor and the treads move as predicted.


I then save the scene. However, when i return again at a later point. the script is no longer in the expression editor it has not saved it. this happens with most of the newer beta versions from v1.00 to build 1314


Is this a bug??? Any ideas greatly appreciated
Title: Re: Controller scripts not saving in Project
Post by: Steve on January 08, 2018, 04:51:40 pm
Looks like a bug to me. I'll look into it. If you could post a small sample file it will help.
Title: Re: Controller scripts not saving in Project
Post by: kreator on January 08, 2018, 06:53:20 pm
Hi Steve Herewith the scene file with the script hope it works!

There are two objects left track and right track each with morph1  attach the script to each one  and they work fine until I save the scene or project they do not save and I have to keep adding them.
Title: Re: Controller scripts not saving in Project
Post by: Steve on January 08, 2018, 11:04:35 pm
Thanks, that helped. I'm working on a fix.

#101-019 - Script controllers for scene morph targets with aren't saved in .an8 file.

It was broken in build 1251, in case it matters. You can also work around the problem by adding a key to the morph target, and closing the controller dialog, and then add the script.
Title: Re: Controller scripts not saving in Project
Post by: Steve on January 14, 2018, 09:01:35 pm
kreator: this should be fixed in build 1317 (http://www.anim8or.com/download/preview/files/animcl1317.zip).
Title: Re: Controller scripts not saving in Project
Post by: kreator on January 15, 2018, 07:47:59 am
Thanx Steve, Working fine now, Saving the controller! ;)