[SOLVED] Solution for program slow-down when using 'Translate Bone'

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
EHCB
Posts: 7
Joined: Tue Oct 30, 2018 11:10 am

[SOLVED] Solution for program slow-down when using 'Translate Bone'

Post 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.
Last edited by EHCB on Fri Feb 19, 2021 11:16 pm, edited 1 time in total.
User avatar
Greenlaw
Posts: 10382
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Solution for program slow-down when usaing 'Translate Bone'

Post 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. 😺
Last edited by Greenlaw on Fri Feb 19, 2021 10:35 pm, edited 1 time in total.
User avatar
Greenlaw
Posts: 10382
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Solution for program slow-down when usaing 'Translate Bone'

Post 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.
Last edited by Greenlaw on Fri Feb 19, 2021 10:40 pm, edited 1 time in total.
User avatar
hayasidist
Posts: 3831
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: Solution for program slow-down when usaing 'Translate Bone'

Post 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.
User avatar
EHCB
Posts: 7
Joined: Tue Oct 30, 2018 11:10 am

Re: Solution for program slow-down when usaing 'Translate Bone'

Post by EHCB »

Thank you so much, everyone! That was incredibly fast, specific and helpful!

I ran the script, got this result:
Image

And now everything works great! 👍
User avatar
synthsin75
Posts: 10253
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: [SOLVED] Solution for program slow-down when using 'Translate Bone'

Post by synthsin75 »

Ah, that's so satisfying to see my script solve the problem. Thanks for posting the image. I'm glad it helped.
User avatar
EHCB
Posts: 7
Joined: Tue Oct 30, 2018 11:10 am

Re: [SOLVED] Solution for program slow-down when using 'Translate Bone'

Post 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!
User avatar
hayasidist
Posts: 3831
Joined: Wed Feb 16, 2011 8:12 pm
Location: Kent, England

Re: [SOLVED] Solution for program slow-down when using 'Translate Bone'

Post 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)
Post Reply