Skip to content

Commit

Permalink
adding tool to menu and in shelf, both in the General section
Browse files Browse the repository at this point in the history
  • Loading branch information
ktonegawa committed Dec 16, 2020
1 parent 4c7a7d0 commit 9a378b2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,14 @@
"tool.main();"
]
},
"remove_all_solver_nodes": {
"name": "Remove All Solver Nodes",
"tooltip": "Remove all nodes related to matchmoveSolver to clean scene file.",
"command": [
"import mmSolver.tools.removesolvernodes.tool as tool;",
"tool.main();"
]
},
"user_preferences_window": {
"name": "User Preferences...",
"name_shelf": "UsrPrf",
Expand Down
1 change: 1 addition & 0 deletions config/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"general_tools/marker_bundle_rename",
"general_tools/marker_bundle_rename_with_metadata",
"general_tools/sort_nodes_in_outliner",
"general_tools/gen_tools_popup/remove_all_solver_nodes",
"general_tools/---Parenting",
"general_tools/reparent_under_node",
"general_tools/unparent_to_world",
Expand Down
1 change: 1 addition & 0 deletions config/shelf.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"general_tools/gen_tools_popup/marker_bundle_rename",
"general_tools/gen_tools_popup/marker_bundle_rename_with_metadata",
"general_tools/gen_tools_popup/sort_nodes_in_outliner",
"general_tools/gen_tools_popup/remove_all_solver_nodes",
"general_tools/gen_tools_popup/---Parenting",
"general_tools/gen_tools_popup/reparent_under_node",
"general_tools/gen_tools_popup/unparent_to_world",
Expand Down

0 comments on commit 9a378b2

Please sign in to comment.