Update openpype/pipeline/create/context.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Toke Jepsen 2023-07-24 10:12:51 +01:00 committed by GitHub
parent 70f97b2738
commit 7fdfc78c2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1981,7 +1981,7 @@ class CreateContext:
precreate_attr_defs = []
# Hidden creators do not have or need the pre-create attributes.
if hasattr(creator, "get_pre_create_attr_defs"):
if isinstance(creator, Creator):
precreate_attr_defs = creator.get_pre_create_attr_defs()
# Create default values of precreate data