mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
fix read node creator
This commit is contained in:
parent
1f0b9ac2f0
commit
22dece8e0b
1 changed files with 2 additions and 5 deletions
|
|
@ -44,7 +44,8 @@ class CrateRead(avalon.nuke.Creator):
|
|||
continue
|
||||
avalon_data = self.data
|
||||
avalon_data['subset'] = "{}".format(self.name)
|
||||
self.change_read_node(self.data["subset"], node, avalon_data)
|
||||
avalon.nuke.lib.imprint(node, avalon_data)
|
||||
node['tile_color'].setValue(16744935)
|
||||
count_reads += 1
|
||||
|
||||
if count_reads < 1:
|
||||
|
|
@ -52,7 +53,3 @@ class CrateRead(avalon.nuke.Creator):
|
|||
self.log.error(msg)
|
||||
nuke.message(msg)
|
||||
return
|
||||
|
||||
def change_read_node(self, name, node, data):
|
||||
node = avalon.nuke.lib.imprint(node, data)
|
||||
node['tile_color'].setValue(16744935)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue