forked from blender/blender
MaterialX: fix review comments #19
@ -13,8 +13,8 @@
|
|||||||
#include <pxr/usdImaging/usdImaging/materialParamUtils.h>
|
#include <pxr/usdImaging/usdImaging/materialParamUtils.h>
|
||||||
|
|
||||||
#ifdef WITH_MATERIALX
|
#ifdef WITH_MATERIALX
|
||||||
#include <pxr/usd/usdMtlx/reader.h>
|
# include <pxr/usd/usdMtlx/reader.h>
|
||||||
#include <pxr/usd/usdMtlx/utils.h>
|
# include <pxr/usd/usdMtlx/utils.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "MEM_guardedalloc.h"
|
#include "MEM_guardedalloc.h"
|
||||||
@ -94,7 +94,6 @@ void MaterialData::init()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
BogdanNagirniak marked this conversation as resolved
|
|||||||
|
|
||||||
/* Convert USD material to Hydra material network map, adapted for render delegate. */
|
/* Convert USD material to Hydra material network map, adapted for render delegate. */
|
||||||
const pxr::HdRenderDelegate *render_delegate =
|
const pxr::HdRenderDelegate *render_delegate =
|
||||||
scene_delegate_->GetRenderIndex().GetRenderDelegate();
|
scene_delegate_->GetRenderIndex().GetRenderDelegate();
|
||||||
|
Loading…
Reference in New Issue
Block a user
simplify to: