|
|
@ -406,9 +406,11 @@ public class MeshHelper extends AbstractBlenderHelper { |
|
|
|
} |
|
|
|
} |
|
|
|
for(Entry<Material, List<Geometry>> entry : materialMap.entrySet()) { |
|
|
|
for(Entry<Material, List<Geometry>> entry : materialMap.entrySet()) { |
|
|
|
MaterialContext materialContext = dataRepository.getMaterialContext(entry.getKey()); |
|
|
|
MaterialContext materialContext = dataRepository.getMaterialContext(entry.getKey()); |
|
|
|
UVCoordinatesGenerator.generateUVCoordinates(materialContext.getUvCoordinatesType(), |
|
|
|
if(materialContext.getTexturesCount()>0) { |
|
|
|
materialContext.getProjectionType(), |
|
|
|
UVCoordinatesGenerator.generateUVCoordinates(materialContext.getUvCoordinatesType(), |
|
|
|
materialContext.getTextureDimension(), entry.getValue()); |
|
|
|
materialContext.getProjectionType(), |
|
|
|
|
|
|
|
materialContext.getTextureDimension(), entry.getValue()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|