message: OBJ importer: only add OBJ params if it is really a OBJ material
diff: @@ -92,12 +92,14 @@ namespace ospray {
  for (auto &mat : mats) {
  auto matNodePtr = createNode(mat.name, "Material")->nodeAs<Material>();
  auto &matNode = *matNodePtr;
  + bool addOBJparams = true;
  for (auto &param : mat.unknown_parameter) {
  if (param.first == "type") {
  matNode["type"] = param.second;
  std::cout << "Creating material node of type " << param.second
  << std::endl;
  + addOBJparams = false;
  } else {
  std::string paramType;
  ospcommon::utility::Any paramValue;
  @@ -112,6 +114,7 @@ namespace ospray {
  }
  }
  + if (addOBJparams) {
  matNode["d"] = mat.dissolve;
  matNode["Kd"] = vec3f(mat.diffuse[0], mat.diffuse[1], mat.diffuse[2]);
  matNode["Ks"] =
  @@ -130,6 +133,8 @@ namespace ospray {
  matNode, "map_bump", mat.bump_texname, containingPath);
  addTextureIfNeeded(
  matNode, "map_d", mat.alpha_texname, containingPath, true);
  + }
  +
  sgMaterials.push_back(matNodePtr);
  }
  