Skip to content

Crash when the root primitive is invalid #2133

@sebastienblor

Description

@sebastienblor

When exporting from mayaUSD with a root primitive which doesn't exist, we get a crash with a recursive loop.
This happens in a fresh maya scene, by running

cmds.polyCube()
kw = {"exportRoots": ["|pCube1"], "file": "/var/tmp/tmp1uwrns2h.usd", "jobContext": ["Arnold"]}
cmds.mayaUSDExport(**kw)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions