When importing from RockSim, ignore texture specs which are empty.
This commit is contained in:
parent
8d90c8aae4
commit
44e0274ab2
@ -48,7 +48,11 @@ public class RockSimAppearanceBuilder extends AppearanceBuilder {
|
||||
}
|
||||
|
||||
private void parseTexture(String s) throws FileNotFoundException, MalformedURLException {
|
||||
final String[] parts = s.trim().split("\\|");
|
||||
s = s.trim();
|
||||
if (s.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
final String[] parts = s.split("\\|");
|
||||
|
||||
boolean interpolate = false;
|
||||
boolean flipr = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user