Skip to content

Commit

Permalink
fix light map uri
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Dec 10, 2020
1 parent 90f83f7 commit 95531b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/LocalCache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,10 @@ void LocalCachePrivate::FixPathsInMaterialElement(
workflowElem->FirstChildElement("emissive_map");
if (emissiveElem)
this->FixPathsInUri(emissiveElem, _id);
tinyxml2::XMLElement *lightElem =
workflowElem->FirstChildElement("light_map");
if (lightElem)
this->FixPathsInUri(lightElem, _id);
// metal workflow specific elements
if (workflow == "metal")
{
Expand Down

0 comments on commit 95531b1

Please sign in to comment.