Merge pull request #12745 from SamGondelman/shadow

RC66: Fix shadows on primitives
This commit is contained in:
John Conklin II 2018-03-30 12:52:08 -07:00 committed by GitHub
commit 8c8400947f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,6 +131,8 @@ ItemKey ShapeEntityRenderer::getKey() {
withReadLock([&] {
if (isTransparent()) {
builder.withTransparent();
} else if (_canCastShadow) {
builder.withShadowCaster();
}
});