Working on better plugin resolution

This commit is contained in:
Alexander Nozik 2017-04-10 22:37:32 +03:00
parent d65da491da
commit 3aefbd8db2

View File

@ -77,7 +77,7 @@ public class NumassPlugin extends BasicPlugin {
loadModels(fm.getModelManager());
loadMath(MathPlugin.buildFrom(context));
ActionManager actions = new ActionManager();
ActionManager actions = context.pluginManager().getOrLoad(ActionManager.class);
actions.attach(context);
actions.register(SlicingAction.class);