Working on better plugin resolution
This commit is contained in:
parent
d65da491da
commit
3aefbd8db2
@ -77,7 +77,7 @@ public class NumassPlugin extends BasicPlugin {
|
|||||||
loadModels(fm.getModelManager());
|
loadModels(fm.getModelManager());
|
||||||
loadMath(MathPlugin.buildFrom(context));
|
loadMath(MathPlugin.buildFrom(context));
|
||||||
|
|
||||||
ActionManager actions = new ActionManager();
|
ActionManager actions = context.pluginManager().getOrLoad(ActionManager.class);
|
||||||
actions.attach(context);
|
actions.attach(context);
|
||||||
|
|
||||||
actions.register(SlicingAction.class);
|
actions.register(SlicingAction.class);
|
||||||
|
Loading…
Reference in New Issue
Block a user