Merge pull request #13815 from thoys/fix/create/createZeroRotationEntities

MS17562: CreateApp - newly created Entity rotation should be zero
This commit is contained in:
Ryan Huffman 2018-08-20 09:07:38 -07:00 committed by GitHub
commit ead0126365
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {