Skip to content

Commit

Permalink
fix verification
Browse files Browse the repository at this point in the history
  • Loading branch information
pedohorse committed Nov 5, 2024
1 parent 3eba13e commit 49e3495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def submit_btn_callback(node):
return
for tgtnode, tgttype, errmsg in (
(simobj_node, 'flipobject', 'Sim Object must point to Flip Object node'),
(cache_node, 'filemerge', 'Cache Node must point to save_slices file merge node'),
(cache_node, 'rop_geometry', 'Cache Node must point to save_slices rop geometry node'),
(simctl_node, 'null', 'Sim Control node must point to dop null with distribution control parameters node'),
):
if tgtnode.type().nameComponents()[2] != tgttype:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def submit_btn_callback(node):
title='you forgot to select node to render'
)
return
if (rop_type_name := ropnode.type().nameComponents()[2]) != 'mantra':
if (rop_type_name := ropnode.type().nameComponents()[2]) != 'ifd':
hou.ui.displayMessage(
f'Specify a Mantra node to render. instead I see "{rop_type_name}"',
severity=hou.severityType.Error,
Expand Down

0 comments on commit 49e3495

Please sign in to comment.