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

Commit

Permalink
Merge pull request #1242 from pypeclub/bugfix/avalon_schema_names
Browse files Browse the repository at this point in the history
Avalon schema names
  • Loading branch information
mkolar authored Apr 7, 2021
2 parents 154e4d2 + 8c9314a commit 8fef446
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pype/plugins/global/publish/extract_hierarchy_avalon.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def unarchive_entity(self, entity, data):
# Unarchived asset should not use same data
new_entity = {
"_id": entity["_id"],
"schema": "avalon-core:asset-3.0",
"schema": "pype:asset-3.0",
"name": entity["name"],
"parent": self.project["_id"],
"type": "asset",
Expand All @@ -162,7 +162,7 @@ def unarchive_entity(self, entity, data):

def create_avalon_asset(self, name, data):
item = {
"schema": "avalon-core:asset-3.0",
"schema": "pype:asset-3.0",
"name": name,
"parent": self.project["_id"],
"type": "asset",
Expand Down
2 changes: 1 addition & 1 deletion pype/tools/assetcreator/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def create_asset(self):
new_asset_info = {
'parent': av_project['_id'],
'name': name,
'schema': "avalon-core:asset-3.0",
'schema': "pype:asset-3.0",
'type': 'asset',
'data': new_asset_data
}
Expand Down

0 comments on commit 8fef446

Please sign in to comment.