removed subset and version anatomy update since they are already set for whole instance

This commit is contained in:
iLLiCiTiT 2020-02-04 15:19:44 +01:00
parent 29c6768da9
commit 3a5ab92687

View file

@ -229,12 +229,6 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
for idx, repre in enumerate(instance.data["representations"]):
# create template data for Anatomy
template_data = copy.deepcopy(anatomy_data)
# TODO cleanup this code, should be already in anatomyData
template_data.update({
"subset": subset["name"],
"version": int(version["name"])
})
if intent is not None:
template_data["intent"] = intent