Skip to content

Commit

Permalink
update based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
lilike-adsk committed Oct 30, 2024
1 parent 438a39b commit 377f882
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -552,13 +552,11 @@ class MayaHydraOpenPBRTransmissionMaterialAttrConverter : public MayaHydraComput
val = 1.0e-4f;
}

float fGeometryOpacity = 1.0f;
if (geometryOpacity.IsHolding<float>()) {
fGeometryOpacity = geometryOpacity.UncheckedGet<float>();
float fGeometryOpacity = geometryOpacity.UncheckedGet<float>();
val *= fGeometryOpacity;
}

val *= fGeometryOpacity;

return VtValue(val);
}
};
Expand Down

0 comments on commit 377f882

Please sign in to comment.