Skip to content

Commit

Permalink
For GitHub #627.
Browse files Browse the repository at this point in the history
Double check the node returned is not None.
  • Loading branch information
Ian Hsieh committed Nov 11, 2021
1 parent d98ae31 commit 7285509
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rman_ui/rman_ui_txmanager.py
Expand Up @@ -245,7 +245,9 @@ def execute(self, context):
continue
node_name,param,ob_name = tokens

node, ob = scene_utils.find_node_by_name(node_name, ob_name)
node, ob = scene_utils.find_node_by_name(node_name, ob_name)
if not node:
continue
if getattr(node, param) != item.name:
nodeIDs.append(nodeID)

Expand Down

0 comments on commit 7285509

Please sign in to comment.