remove rotation for newly created entities

This commit is contained in:
Thijs Wenker 2018-08-11 02:28:01 +02:00
parent b56d9c3ea5
commit a20be5b50d

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