Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
parm RMB menu: add "Select target OP" #837
  • Loading branch information
johnnyquest committed May 24, 2019
1 parent 208c2cd commit e5a3892
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions PARMmenu.xml
Expand Up @@ -71,6 +71,15 @@ qlibutils.open_dir( os.path.dirname(str(kwargs['parms'][0].eval())) )
]]></scriptCode>
</scriptItem>

<scriptItem id="ql_select_target_op">
<label>Select (Add) Target Node</label>
<context>
<expression>len(kwargs['parms'])>0 and kwargs['parms'][0].evalAsNode() is not None</expression>
</context>
<scriptCode><![CDATA[
kwargs['parms'][0].evalAsNode().setSelected(True)
]]></scriptCode>
</scriptItem>

<separatorItem/>

Expand Down

0 comments on commit e5a3892

Please sign in to comment.