Skip to content

Commit

Permalink
Convert To Marker - Add assertions for camera node existance.
Browse files Browse the repository at this point in the history
Issue #249
  • Loading branch information
david-cattermole committed Oct 27, 2023
1 parent aaf0156 commit 3304c27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/mmSolver/tools/convertmarker/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@


def convert_nodes_to_marker_data_list(cam_tfm, cam_shp, nodes, start_frame, end_frame):
assert maya.cmds.objExists(cam_tfm)
assert maya.cmds.objExists(cam_shp)
# Ensure the plug-in is loaded, to use mmReprojection command.
mmapi.load_plugin()

Expand Down

0 comments on commit 3304c27

Please sign in to comment.