Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a Skeleton.readonly() function #1100

Open
phorward opened this issue Mar 13, 2024 · 0 comments
Open

Provide a Skeleton.readonly() function #1100

phorward opened this issue Mar 13, 2024 · 0 comments
Labels
feature New feature or request Priority: Low This issue can be considered with enough idle time.

Comments

@phorward
Copy link
Member

Shortcut, to immediately obtain a readonly skeleton.

Avoid things like these...

    def baseSkel(self):
        # Make all bones readOnly!
        # FIXME: There should be a skel.readonly() function soon...
        skel = super().baseSkel().clone()

        for bone in skel.values():
            bone.readOnly = True

        return skel
@phorward phorward added feature New feature or request Priority: Low This issue can be considered with enough idle time. labels Mar 13, 2024
@phorward phorward added this to the ViUR-core v3.7 milestone Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request Priority: Low This issue can be considered with enough idle time.
Projects
None yet
Development

No branches or pull requests

1 participant