Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Maya: configurable model top level validation #2321

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

antirotor
Copy link
Member

Hotfix

Provide configurable top level group model validation.

Same as hotfix PR #2320

"(Are there objects in the instance?"
" Or is it parented in another group?)")
return assemblies
if len(assemblies) == 0:
Copy link
Member

@iLLiCiTiT iLLiCiTiT Nov 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this condition should be first otherwise will never happen.

EDITED: Will happen only if validate top group is disabled. Is that intended?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe so. Even if you don't validate single top group, it should never be 0. That would mean empty publish

@antirotor antirotor merged commit a3ab281 into develop Nov 30, 2021
@antirotor antirotor deleted the hotfix/model-validate-top-group branch November 30, 2021 13:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants