Fixed external ROI loading

parent 4e9df83e
......@@ -58,6 +58,7 @@ import icy.plugin.PluginDescriptor;
import icy.plugin.PluginLoader;
import icy.plugin.PluginLoader.PluginLoaderEvent;
import icy.plugin.PluginLoader.PluginLoaderListener;
import icy.plugin.interface_.PluginROI;
import icy.resource.ResourceUtil;
import icy.resource.icon.IcyIcon;
import icy.roi.ROI;
......@@ -236,7 +237,8 @@ public class ROITask extends RibbonTask implements PluginLoaderListener
public static List<PluginDescriptor> getROIPlugins()
final List<PluginDescriptor> result = new ArrayList<PluginDescriptor>();
// get all ROI plugins
final List<PluginDescriptor> result = PluginLoader.getPlugins(PluginROI.class);
// remove default 2D & 3D ROI to only keep external ROI
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment