message: Expand tilde in texture file path
diff: #include <array>
  #include <cassert>
  #include <cstddef>
  +#include <cstdlib>
  #include <cstring>
  #include <fstream>
  #include <iostream>
  @@ -1173,6 +1174,15 @@ std::shared_ptr<sg::node> vsnray_parser::parse_surface_properties(Object const&
  {
  filename = std::string(diffuse_obj["filename"].GetString());
  + if (filename[0] == '~')
  + {
  + char const* home = getenv("HOME");
  + if (home != nullptr)
  + {
  + filename = std::string(home) + filename.substr(1, filename.size() - 1);
  + }
  + }
  +
  can_load &= boost::filesystem::exists(filename);
  }
  