Don't use the default material database when loading componentpreset files.
This commit is contained in:
parent
3792528e01
commit
9661b47562
@ -183,11 +183,7 @@ public abstract class BaseComponentDTO {
|
||||
return materialDTO.asMaterial();
|
||||
}
|
||||
}
|
||||
// Check for the material in the default database.
|
||||
Material defaultMaterial = Databases.findMaterial(Material.Type.valueOf(material.type), material.material);
|
||||
if ( defaultMaterial != null ) {
|
||||
return defaultMaterial;
|
||||
}
|
||||
|
||||
// Don't have one, build one.
|
||||
|
||||
if ( "BULK".equals( dto.type ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user