Skip to content

Commit

Permalink
Merge pull request #171 from ynput/enhancement/remove-deadline-plugins
Browse files Browse the repository at this point in the history
Remove `chunkSize` from houdini plugins
  • Loading branch information
MustafaJafar authored Nov 18, 2024
2 parents 03f7b76 + 9e075b0 commit 6f562e8
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 77 deletions.
3 changes: 0 additions & 3 deletions client/ayon_houdini/plugins/create/create_arnold_rop.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ def create(self, product_name, instance_data, pre_create_data):
# Remove the active, we are checking the bypass flag of the nodes
instance_data.update({"node_type": "arnold"})

# Add chunk size attribute
instance_data["chunkSize"] = 1

instance = super(CreateArnoldRop, self).create(
product_name,
instance_data,
Expand Down
2 changes: 0 additions & 2 deletions client/ayon_houdini/plugins/create/create_karma_rop.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ def create(self, product_name, instance_data, pre_create_data):
creator_attributes[key] = pre_create_data[key]

instance_data.update({"node_type": "karma"})
# Add chunk size attribute
instance_data["chunkSize"] = 10

instance = super(CreateKarmaROP, self).create(
product_name,
Expand Down
2 changes: 0 additions & 2 deletions client/ayon_houdini/plugins/create/create_mantra_rop.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ def create(self, product_name, instance_data, pre_create_data):
creator_attributes[key] = pre_create_data[key]

instance_data.update({"node_type": "ifd"})
# Add chunk size attribute
instance_data["chunkSize"] = 10

instance = super(CreateMantraROP, self).create(
product_name,
Expand Down
2 changes: 0 additions & 2 deletions client/ayon_houdini/plugins/create/create_redshift_rop.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ def create(self, product_name, instance_data, pre_create_data):
creator_attributes[key] = pre_create_data[key]

instance_data.update({"node_type": "Redshift_ROP"})
# Add chunk size attribute
instance_data["chunkSize"] = 10

instance = super(CreateRedshiftROP, self).create(
product_name,
Expand Down
2 changes: 0 additions & 2 deletions client/ayon_houdini/plugins/create/create_vray_rop.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ def create(self, product_name, instance_data, pre_create_data):
creator_attributes[key] = pre_create_data[key]

instance_data.update({"node_type": "vray_renderer"})
# Add chunk size attribute
instance_data["chunkSize"] = 10

instance = super(CreateVrayROP, self).create(
product_name,
Expand Down
7 changes: 0 additions & 7 deletions client/ayon_houdini/plugins/publish/collect_arnold_rop.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ def process(self, instance):

rop = hou.node(instance.data.get("instance_node"))

# Collect chunkSize
chunk_size_parm = rop.parm("chunkSize")
if chunk_size_parm:
chunk_size = int(chunk_size_parm.eval())
instance.data["chunkSize"] = chunk_size
self.log.debug("Chunk Size: %s" % chunk_size)

default_prefix = evalParmNoFrame(rop, "ar_picture")
render_products = []

Expand Down
31 changes: 0 additions & 31 deletions client/ayon_houdini/plugins/publish/collect_chunk_size.py

This file was deleted.

7 changes: 0 additions & 7 deletions client/ayon_houdini/plugins/publish/collect_karma_rop.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ def process(self, instance):

rop = hou.node(instance.data.get("instance_node"))

# Collect chunkSize
chunk_size_parm = rop.parm("chunkSize")
if chunk_size_parm:
chunk_size = int(chunk_size_parm.eval())
instance.data["chunkSize"] = chunk_size
self.log.debug("Chunk Size: %s" % chunk_size)

default_prefix = evalParmNoFrame(rop, "picture")
render_products = []

Expand Down
7 changes: 0 additions & 7 deletions client/ayon_houdini/plugins/publish/collect_mantra_rop.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ def process(self, instance):

rop = hou.node(instance.data.get("instance_node"))

# Collect chunkSize
chunk_size_parm = rop.parm("chunkSize")
if chunk_size_parm:
chunk_size = int(chunk_size_parm.eval())
instance.data["chunkSize"] = chunk_size
self.log.debug("Chunk Size: %s" % chunk_size)

default_prefix = evalParmNoFrame(rop, "vm_picture")
render_products = []

Expand Down
7 changes: 0 additions & 7 deletions client/ayon_houdini/plugins/publish/collect_redshift_rop.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ class CollectRedshiftROPRenderProducts(plugin.HoudiniInstancePlugin):
def process(self, instance):
rop = hou.node(instance.data.get("instance_node"))

# Collect chunkSize
chunk_size_parm = rop.parm("chunkSize")
if chunk_size_parm:
chunk_size = int(chunk_size_parm.eval())
instance.data["chunkSize"] = chunk_size
self.log.debug("Chunk Size: %s" % chunk_size)

default_prefix = evalParmNoFrame(rop, "RS_outputFileNamePrefix")
beauty_suffix = rop.evalParm("RS_outputBeautyAOVSuffix")

Expand Down
7 changes: 0 additions & 7 deletions client/ayon_houdini/plugins/publish/collect_vray_rop.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ def process(self, instance):

rop = hou.node(instance.data.get("instance_node"))

# Collect chunkSize
chunk_size_parm = rop.parm("chunkSize")
if chunk_size_parm:
chunk_size = int(chunk_size_parm.eval())
instance.data["chunkSize"] = chunk_size
self.log.debug("Chunk Size: %s" % chunk_size)

default_prefix = evalParmNoFrame(rop, "SettingsOutput_img_file_path")
render_products = []
# TODO: add render elements if render element
Expand Down

0 comments on commit 6f562e8

Please sign in to comment.