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

Maya: Make tx option configurable with presets #1328

Merged
merged 1 commit into from
Apr 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pype/plugins/maya/create/create_look.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ class CreateLook(plugin.Creator):
family = "look"
icon = "paint-brush"
defaults = ['Main']
make_tx = True

def __init__(self, *args, **kwargs):
super(CreateLook, self).__init__(*args, **kwargs)

self.data["renderlayer"] = lib.get_current_renderlayer()

# Whether to automatically convert the textures to .tx upon publish.
self.data["maketx"] = True
self.data["maketx"] = self.make_tx

# Enable users to force a copy.
self.data["forceCopy"] = False