Skip to content

Commit

Permalink
Add mmSolver2 command to plug-in.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cattermole committed Dec 19, 2022
1 parent 2cee733 commit c514d37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mmSolver/pluginMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include "mmSolver/cmd/MMMarkerHomographyCmd.h"
#include "mmSolver/cmd/MMReadImageCmd.h"
#include "mmSolver/cmd/MMReprojectionCmd.h"
#include "mmSolver/cmd/MMSolver2Cmd.h"
#include "mmSolver/cmd/MMSolverAffectsCmd.h"
#include "mmSolver/cmd/MMSolverCmd.h"
#include "mmSolver/cmd/MMSolverSceneGraphCmd.h"
Expand Down Expand Up @@ -211,6 +212,10 @@ MStatus initializePlugin(MObject obj) {
mmsolver::MMSolverCmd::creator,
mmsolver::MMSolverCmd::newSyntax, status);

REGISTER_COMMAND(plugin, mmsolver::MMSolver2Cmd::cmdName(),
mmsolver::MMSolver2Cmd::creator,
mmsolver::MMSolver2Cmd::newSyntax, status);

REGISTER_COMMAND(plugin, mmsolver::MMSolverTypeCmd::cmdName(),
mmsolver::MMSolverTypeCmd::creator,
mmsolver::MMSolverTypeCmd::newSyntax, status);
Expand Down Expand Up @@ -552,6 +557,7 @@ MStatus uninitializePlugin(MObject obj) {
#endif

DEREGISTER_COMMAND(plugin, mmsolver::MMSolverCmd::cmdName(), status);
DEREGISTER_COMMAND(plugin, mmsolver::MMSolver2Cmd::cmdName(), status);
DEREGISTER_COMMAND(plugin, mmsolver::MMSolverTypeCmd::cmdName(), status);
DEREGISTER_COMMAND(plugin, mmsolver::MMReprojectionCmd::cmdName(), status);
DEREGISTER_COMMAND(plugin, mmsolver::MMSolverAffectsCmd::cmdName(), status);
Expand Down

0 comments on commit c514d37

Please sign in to comment.