Skip to content

Commit

Permalink
Fix SME material updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dictoon committed May 22, 2017
1 parent d0b03d1 commit a8396b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/appleseed-max-impl/appleseedrenderer/projectbuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,11 @@ namespace
if (mtl)
{
// The instance has a material.

// Trigger SME materials update.
if (type == RenderType::MaterialPreview)
mtl->Update(time, FOREVER);

const int submtlcount = mtl->NumSubMtls();
if (submtlcount > 0)
{
Expand Down

0 comments on commit a8396b0

Please sign in to comment.