Script Issue: Placing Keys Offset from the Timeline Marker
Posted: Mon Feb 23, 2015 7:01 pm
I was taking a look at Janimatic's script from here and found there's some odd behaviour with it.
If you right click and drag the timeline to shift it then the script creates keys offset from the actual timeline marker.
Eg. If you have the timeline marker at frame 100 and you shift the keys 10 frames to the right then Janimatic's script will create a key at 110 instead of at 100 where you'd want it to be. I had thought that it was an issue with using moho.frame vs. moho.layerFrame but it seems to be behaving identically when I switch in moho.layerFrame (and I would have thought moho.frame would be the one that would solve this problem anyway)
A bit of an aside, I saw somewhere that the way to refresh menu scripts without quitting and re-opening Anime Studio was to press Ctrl + F5 but that's doing nothing when I try it. I don't see it in the list of shortcuts so if if someone could direct me to the correct method it'd speed me up a lot! I am slightly suspicious that even when I quit and re-open Anime Studio it's not fully updating my script and maybe caching it somehow? I had that happening to me when I was making a lot of changes to layer scripts before so if I had a more direct refresh method that'd put that possible source of the problem out of my head.
If you right click and drag the timeline to shift it then the script creates keys offset from the actual timeline marker.
Eg. If you have the timeline marker at frame 100 and you shift the keys 10 frames to the right then Janimatic's script will create a key at 110 instead of at 100 where you'd want it to be. I had thought that it was an issue with using moho.frame vs. moho.layerFrame but it seems to be behaving identically when I switch in moho.layerFrame (and I would have thought moho.frame would be the one that would solve this problem anyway)
A bit of an aside, I saw somewhere that the way to refresh menu scripts without quitting and re-opening Anime Studio was to press Ctrl + F5 but that's doing nothing when I try it. I don't see it in the list of shortcuts so if if someone could direct me to the correct method it'd speed me up a lot! I am slightly suspicious that even when I quit and re-open Anime Studio it's not fully updating my script and maybe caching it somehow? I had that happening to me when I was making a lot of changes to layer scripts before so if I had a more direct refresh method that'd put that possible source of the problem out of my head.