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 #1328 from pypeclub/fix/2.0-make_tx-configurable-i…
Browse files Browse the repository at this point in the history
…n-look-creator

Maya: Make tx option configurable with presets
  • Loading branch information
mkolar authored Apr 14, 2021
2 parents e3327a1 + 967faee commit c8b306d
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit c8b306d

Please sign in to comment.