}
List<StructureCommandI> finalView = commandGenerator
.centerViewOn(models);
- executeCommands(finalView, false, "Centered on Superposition");
+ if (finalView!=null && finalView.size()>0)
+ {
+ executeCommands(finalView, false, "Centered on Superposition");
+ }
}
return error;
}