Ignore cbId attribute on read

This commit is contained in:
Roy Nieterau 2023-02-01 01:12:17 +01:00
parent b931183eca
commit 4f633aa5a4

View file

@ -197,6 +197,10 @@ class MayaCreatorBase(object):
def read_instance_node(self, node):
node_data = read(node)
# Never care about a cbId attribute on the object set
# being read as 'data'
node_data.pop("cbId", None)
# Move the relevant attributes into "creator_attributes" that
# we flattened originally
node_data["creator_attributes"] = {}