From 4f633aa5a40fc33182762870d71fdcd5896085cb Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Wed, 1 Feb 2023 01:12:17 +0100 Subject: [PATCH] Ignore `cbId` attribute on read --- openpype/hosts/maya/api/plugin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openpype/hosts/maya/api/plugin.py b/openpype/hosts/maya/api/plugin.py index 16000d7f03..d9c833b38b 100644 --- a/openpype/hosts/maya/api/plugin.py +++ b/openpype/hosts/maya/api/plugin.py @@ -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"] = {}