mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 00:22:13 +02:00
Merge pull request #15563 from SimonWalton-HiFi/avatar-banner-emissive
Make avatar-theft banner emissive
This commit is contained in:
commit
024dfbf8b7
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ void AvatarCertifyBanner::show(const QUuid& avatarID) {
|
|||
entityProperties.setParentJointIndex(CAMERA_MATRIX_INDEX);
|
||||
entityProperties.setLocalPosition(position);
|
||||
entityProperties.setDimensions(glm::vec3(1.0f, 1.0f, 0.3f) * scaleFactor);
|
||||
entityProperties.setEmissive(true);
|
||||
entityProperties.setRenderLayer(tabletShown ? RenderLayer::WORLD : RenderLayer::FRONT);
|
||||
entityProperties.getGrab().setGrabbable(false);
|
||||
QString scriptPath = QUrl(PathUtils::defaultScriptsLocation("")).toString() + AVATAR_THEFT_BANNER_SCRIPT;
|
||||
|
|
Loading…
Reference in a new issue