Commit 2d3c639c authored by Stefan Sechelmann's avatar Stefan Sechelmann

do not activate first layer after import

parent c1f6af77
......@@ -913,7 +913,6 @@ public class HalfedgeInterface extends ShrinkPanelPlugin implements
if (selectedFile.getName().toLowerCase().endsWith(".obj")) {
ReaderOBJ reader = new ReaderOBJ();
SceneGraphComponent c = reader.read(selectedFile);
// layers.remove(activeLayer);
List<SceneGraphComponent> childComponents = c.getChildComponents();
if(childComponents.size() == 1) {
Geometry g = SceneGraphUtility.getFirstGeometry(c);
......@@ -938,7 +937,6 @@ public class HalfedgeInterface extends ShrinkPanelPlugin implements
}
}
}
activateLayer(layers.get(0));
} else if (selectedFile.getName().toLowerCase().endsWith(".heml")) {
String filePath = selectedFile.getAbsolutePath();
HalfEdgeDataStructure<?, ?, ?> hds = HalfedgeIO.readHDS(filePath);
......
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