Skip to content

__import__ called with illegal value of level #473

@TonyKaap

Description

@TonyKaap

import is being called from load() in uitypes.py with a value of level=-1 . This is causing Attribute Editor failures in py3 versions of Maya.

Changed in version 3.3: Negative values for level are no longer supported (which also changes the default value to 0).
https://docs.python.org/3/library/functions.html#import__

https://github.com/LumaPictures/pymel/blob/5fbe189fc0e0e1fdf056be2dd2ae63d26ca33ed5/pymel/core/uitypes.py#L3910

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions