mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:24:07 +02:00
no myAvatarIndex needed
This commit is contained in:
parent
d16b777977
commit
bb0b1cc4a4
1 changed files with 1 additions and 2 deletions
|
@ -2028,8 +2028,7 @@ SelectionDisplay = (function() {
|
|||
Overlays.editOverlay(scaleHandle, { color: COLOR_SCALE_CUBE_SELECTED });
|
||||
}
|
||||
|
||||
var myAvatarIndex = properties.collidesWith.indexOf("myAvatar");
|
||||
if (myAvatarIndex > -1) {
|
||||
if (properties.collidesWith.indexOf("myAvatar") > -1) {
|
||||
var newCollidesWith = properties.collidesWith.replace("myAvatar", "");
|
||||
Entities.editEntity(SelectionManager.selections[0], {collidesWith: newCollidesWith});
|
||||
that.replaceCollisionsAfterStretch = true;
|
||||
|
|
Loading…
Reference in a new issue