Skip to content

Commit c56d839

Browse files
committed
Revised Maya/Unreal turntable publish
- Improved turntable visuals - Templates better match Shotgun's tk-config-default2 - Moved processing from validation to publish - Handles spaces in paths - Added Shotgun Python console to env - Updated Unreal icon
1 parent 7a807cc commit c56d839

File tree

11 files changed

+178
-164
lines changed

11 files changed

+178
-164
lines changed

env/asset_step.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ includes:
2424
- ./includes/settings/tk-photoshopcc.yml
2525
- ./includes/settings/tk-shell.yml
2626
- ./includes/settings/tk-shotgun.yml
27+
- ./includes/settings/tk-unreal.yml
2728

2829
################################################################################
2930
# configuration for all engines to load in an asset step context
@@ -39,6 +40,7 @@ engines:
3940
tk-photoshopcc: "@settings.tk-photoshopcc.asset_step"
4041
tk-shell: "@settings.tk-shell.asset_step"
4142
tk-shotgun: "@settings.tk-shotgun.asset_step"
43+
tk-unreal: "@settings.tk-unreal.asset_step"
4244

4345
################################################################################
4446
# reference all of the common frameworks

env/includes/settings/tk-unreal.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,28 @@ includes:
2121

2222
################################################################################
2323

24+
# asset_step
25+
settings.tk-unreal.asset_step:
26+
apps:
27+
tk-multi-about:
28+
location: "@apps.tk-multi-about.location"
29+
tk-multi-pythonconsole:
30+
location: "@apps.tk-multi-pythonconsole.location"
31+
location: "@engines.tk-unreal.location"
32+
menu_favourites: []
33+
run_at_startup: []
34+
launch_builtin_plugins: [basic]
35+
automatic_context_switch: false
36+
2437
# project
2538
settings.tk-unreal.project:
2639
apps:
2740
tk-multi-about:
2841
location: "@apps.tk-multi-about.location"
2942
tk-multi-loader2: "@settings.tk-multi-loader2.unreal"
3043
tk-multi-publish2: "@settings.tk-multi-publish2.unreal.project"
44+
tk-multi-pythonconsole:
45+
location: "@apps.tk-multi-pythonconsole.location"
3146
tk-multi-shotgunpanel: "@settings.tk-multi-shotgunpanel.unreal"
3247
location: "@engines.tk-unreal.location"
3348
menu_favourites: []

hooks/tk-multi-publish2/tk-maya/basic/publish_fbx.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,6 @@ def validate(self, settings, item):
211211
if "version" in work_fields:
212212
item.properties["publish_version"] = work_fields["version"]
213213

214-
# maya_path will be used for version numbering based on the Maya scene file
215-
# item.properties["maya_path"] = path
216-
# item.properties["publish_type"] = "Maya FBX"
217-
218214
# run the base class validation
219215
return super(MayaFBXPublishPlugin, self).validate(settings, item)
220216

0 commit comments

Comments
 (0)