Skip to content

Issue #201 Porting ml_convertRotationOrder.py to mmSolver #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions config/functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,14 @@
"import mmSolver.tools.calibratecamera.tool as tool;",
"tool.update();"
]
},
"ml_convert_rotation_order": {
"name": "Convert Rotation Order UI",
"tooltip": "Change the rotation order of an object while preserving animation.",
"command": [
"import mmSolver.tools.mltools.ml_convertRotationOrder as ml_convertRotationOrder;",
"ml_convertRotationOrder.ui();"
]
}
}
}
2 changes: 2 additions & 0 deletions config/menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
"general_tools/---Controllers",
"general_tools/create_controller2",
"general_tools/remove_controller2",
"general_tools/---ML Tools",
"general_tools/ml_convert_rotation_order",
"general_tools/---Settings & Preferences",
"general_tools/user_preferences_window",
"file_io_tools/---Input Output",
Expand Down
2 changes: 2 additions & 0 deletions config/shelf.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
"general_tools/gen_tools_popup/---Controllers",
"general_tools/gen_tools_popup/create_controller2",
"general_tools/gen_tools_popup/remove_controller2",
"general_tools/gen_tools_popup/---ML Tools",
"general_tools/gen_tools_popup/ml_convert_rotation_order",
"general_tools/gen_tools_popup/---Settings & Preferences",
"general_tools/gen_tools_popup/user_preferences_window",
"file_io_tools/file_io_popup/---Input Output",
Expand Down
2 changes: 2 additions & 0 deletions config/shelf_minimal.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
"general_tools/gen_tools_popup/---Controllers",
"general_tools/gen_tools_popup/create_controller2",
"general_tools/gen_tools_popup/remove_controller2",
"general_tools/gen_tools_popup/---ML Tools",
"general_tools/gen_tools_popup/ml_convert_rotation_order",
"general_tools/gen_tools_popup/---Settings & Preferences",
"general_tools/gen_tools_popup/user_preferences_window",
"file_io_tools/file_io_popup/---Input Output",
Expand Down
27 changes: 27 additions & 0 deletions python/mmSolver/tools/mltools/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright (C) 2019, 2021 David Cattermole.
#
# This file is part of mmSolver.
#
# mmSolver is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# mmSolver is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mmSolver. If not, see <https://www.gnu.org/licenses/>.
#
"""
These are direct ports for Morgan Loomis's Animation tools so that they
can be utilized within mmSolver.

Morgan Loomis's tools are under the MIT License making them compatible
with mmSolver's GNU Lesser General Public License.

The original files can be found here:
http://morganloomis.com/
"""
Loading