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