mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
Merge pull request #13815 from thoys/fix/create/createZeroRotationEntities
MS17562: CreateApp - newly created Entity rotation should be zero
This commit is contained in:
commit
ead0126365
1 changed files with 0 additions and 2 deletions
|
@ -314,8 +314,6 @@ var toolBar = (function () {
|
|||
direction = MyAvatar.orientation;
|
||||
}
|
||||
direction = Vec3.multiplyQbyV(direction, Vec3.UNIT_Z);
|
||||
// Align entity with Avatar orientation.
|
||||
properties.rotation = MyAvatar.orientation;
|
||||
|
||||
var PRE_ADJUST_ENTITY_TYPES = ["Box", "Sphere", "Shape", "Text", "Web", "Material"];
|
||||
if (PRE_ADJUST_ENTITY_TYPES.indexOf(properties.type) !== -1) {
|
||||
|
|
Loading…
Reference in a new issue