Skip to content

Commit 285cdbd

Browse files
author
Stephane Deverly
committed
For #14335, wip
1 parent 2c05458 commit 285cdbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hooks/tk-multi-publish2/basic/collector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def collect_selected_assets(self, parent_item):
181181
# :class:`Name` instances, we cast them to strings otherwise
182182
# string operations fail down the line..
183183
"%s" % unreal_sg.object_path(asset),
184-
"%s" % asset.asset_class,
184+
"%s" % asset.asset_class_path.asset_name,
185185
"%s" % asset.asset_name,
186186
)
187187

python/tk_unreal/unreal_sg_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def object_path(asset_data):
247247
# UE 5.1
248248
if hasattr(asset_data, "object_path"):
249249
return asset_data.object_path
250-
return "%s.%s" (asset_data.package_name, asset_data.asset_name)
250+
return "%s.%s" % (asset_data.package_name, asset_data.asset_name)
251251

252252
"""
253253
Menu generation functionality for Unreal (based on the 3ds max Menu Generation implementation)

0 commit comments

Comments
 (0)