Markers reset on playback

Hello,

I have an issue where the changes I have made to my markers will reset whenever I hit play.

This might be related to this error message:
" # Error: NameError: file line 7: name ‘cmds’ is not defined "

I saw a post about it, but did not see a solution for it.

I have used Ragdoll before but this has not been a problem. Do you have any idea what this might be?

I am Running Maya 2024.2 on Windows

Thank you for the time and attention!

Oh dear, thanks for reporting this.

Could you try typing this into a Python tab of your Script Editor?

from maya import cmds

And then try reproducing the error? We will investigate this asap, looks like a bug to me!

Can you confirm which version of Ragdoll you are using? It will say at the bottom of the Ragdoll menu.

Hey Marcus,

Thank you for the quick response.

Importing the cmds in Python seems to have made the error go away.

The version I am using is : 2023/10/05
I can see now that is not latest, I will try the latest update otherwise I have this quick fix for now

let me know if you need more info.

Cheers, Johann

Phew, yes. Do let us know if this error persists in the latest version.

It’s a tricky one, because it’s common for users/studios to have a startup script for Maya, and in that startup script it is highly likely that cmds has been imported via Python. As is the case on our development machines here, which makes this bug invisible to us. But now that I know, I can make sure we don’t let it slip through again.

1 Like