This commit is contained in:
James B. Pollack 2016-03-17 11:06:46 -07:00
parent bb18366cbd
commit 78775baf8c
2 changed files with 3 additions and 1 deletions

View file

@ -174,7 +174,9 @@
},
cleanupDynamicEntities: function() {
print('SHOULD CLEANUP DYNAMIC')
if (dynamicEntities.length === 0) {
print('NO DYNAMIC ENTITIES')
return;
}
dynamicEntities.forEach(function(dynamicEntity) {

View file

@ -18,7 +18,7 @@ Whiteboard = function(spawnPosition, spawnRotation) {
var orientation = Quat.fromPitchYawRollDegrees(spawnRotation.x, spawnRotation.y, spawnRotation.z);
var markers = [];
var markerRotation = orientation;
var whiteboardPosition = spawnPosition;
var whiteboardRotation = orientation;
var WHITEBOARD_MODEL_URL = "https://s3-us-west-1.amazonaws.com/hifi-content/eric/models/Whiteboard-4.fbx";