File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ HdCyclesInstancer::~HdCyclesInstancer() {}
31
31
32
32
#if PXR_VERSION > 2011
33
33
void HdCyclesInstancer::Sync (HdSceneDelegate *sceneDelegate,
34
- HdRenderParam *renderParam,
34
+ HdRenderParam * /* renderParam*/ ,
35
35
HdDirtyBits *dirtyBits)
36
36
{
37
37
_UpdateInstancer (sceneDelegate, dirtyBits);
@@ -60,16 +60,16 @@ void HdCyclesInstancer::SyncPrimvars()
60
60
continue ;
61
61
}
62
62
63
- if (desc.name == HdInstancerTokens->translate ) {
63
+ if (desc.name == HdInstancerTokens->instanceTranslations ) {
64
64
_translate = value.Get <VtVec3fArray>();
65
65
}
66
- else if (desc.name == HdInstancerTokens->rotate ) {
66
+ else if (desc.name == HdInstancerTokens->instanceRotations ) {
67
67
_rotate = value.Get <VtVec4fArray>();
68
68
}
69
- else if (desc.name == HdInstancerTokens->scale ) {
69
+ else if (desc.name == HdInstancerTokens->instanceScales ) {
70
70
_scale = value.Get <VtVec3fArray>();
71
71
}
72
- else if (desc.name == HdInstancerTokens->instanceTransform ) {
72
+ else if (desc.name == HdInstancerTokens->instanceTransforms ) {
73
73
_instanceTransform = value.Get <VtMatrix4dArray>();
74
74
}
75
75
}
You can’t perform that action at this time.
0 commit comments