Page 1 of 1
[SOLVED] Solution for program slow-down when using 'Translate Bone'
Posted: Fri Feb 19, 2021 10:06 pm
by EHCB
Hi! This year I've started experiencing a really bizzare issue in Moho 12. It only happens on certain documents, but the ones for which it is - it occurs with 100% regularity.
When I select 'Translate Bone' the program slows to absolute unworkable crawl, like 'click on bone... wait 20 seconds... bone is selected... click on bone again and move mouse... wait 20 seconds... laptop fan starts complaining... now the bone has moved'-speeds.
When I manage to get another tool selected (like "Manipulate Bones") then everything speeds back up to normal and I can use the tool as intended.
Does anyone have any suggestions for dealing with this? Is there a cache somewhere I can delete? It's really stopped my project dead in it's tracks.
Re: Solution for program slow-down when usaing 'Translate Bone'
Posted: Fri Feb 19, 2021 10:18 pm
by synthsin75
Re: Solution for program slow-down when usaing 'Translate Bone'
Posted: Fri Feb 19, 2021 10:28 pm
by Greenlaw
Yes, try the script from the thread above.
The problem you're seeing is likely caused by unwanted keyframes existing thousands of frames before frame zero. I think Moho is trying to evaluate the interpolation from those frames to the current frame, which is probably why you see the slow down. There's no known explanation for how the keyfames appear there, and thankfully it's a rare occurrence. One theory is that it can happen after a crash, but because it doesn't happen after every crash, it's still a mystery.
Anyway, this problem can be fixed manually, but it's MUCH easier with Synthsin75's tool.

Re: Solution for program slow-down when usaing 'Translate Bone'
Posted: Fri Feb 19, 2021 10:32 pm
by Greenlaw
Probably not related but maybe worth mentioning: If you like pressing and holding keys to temporarily switch tools, that can affect rig performance. For example, if you press and hold T to temporarily switch to the Transform Bone tool, it will slow down a rig using IK and other 'heavy' features. If this is the case, avoid the press and hold trick when animating a rig. A quick tap on T to fully switch tools should be fine.
Re: Solution for program slow-down when usaing 'Translate Bone'
Posted: Fri Feb 19, 2021 10:35 pm
by hayasidist
EHCB wrote: ↑Fri Feb 19, 2021 10:06 pm
When I select 'Translate Bone' the program slows to absolute unworkable crawl, like 'click on bone... wait 20 seconds... bone is selected... click on bone again and move mouse... wait 20 seconds... laptop fan starts complaining... now the bone has moved'-speeds.
if you're in a position to share one of the problem files that might help understand the cause ... if not, then it would be really helpful to know if the recommended tool finds (and resolves!!) problems.
Re: Solution for program slow-down when usaing 'Translate Bone'
Posted: Fri Feb 19, 2021 11:16 pm
by EHCB
Thank you so much, everyone! That was incredibly fast, specific and helpful!
I ran the script, got this result:
And now everything works great!

Re: [SOLVED] Solution for program slow-down when using 'Translate Bone'
Posted: Fri Feb 19, 2021 11:44 pm
by synthsin75
Ah, that's so satisfying to see my script solve the problem. Thanks for posting the image. I'm glad it helped.
Re: [SOLVED] Solution for program slow-down when using 'Translate Bone'
Posted: Sat Feb 20, 2021 1:26 pm
by EHCB
synthsin75 wrote: ↑Fri Feb 19, 2021 11:44 pm
Ah, that's so satisfying to see my script solve the problem. Thanks for posting the image. I'm glad it helped.
You're incredibly welcome! Thanks so much for writing the thing!
Re: [SOLVED] Solution for program slow-down when using 'Translate Bone'
Posted: Sat Feb 20, 2021 2:54 pm
by hayasidist
@EHCB Really glad the issue is solved - It would be tremendously helpful if we could tie down how those rogue keys got there. They're really close to the default location for shape creation (-1 million). I'm wondering if you've used the sequencer at all to shift the layers "top" vector or "layer11" bone? (I've tried that experiment here, but I don't get rogue keys - so that might only be part of the causative sequence)