Remove avatar usage from grid3d

This commit is contained in:
Zach Pomerantz 2016-02-19 16:38:53 -08:00
parent c9362a4073
commit 665ef17fce

View file

@ -15,9 +15,6 @@
#include <OctreeConstants.h>
#include <avatar/AvatarManager.h>
#include <avatar/MyAvatar.h>
#include <DependencyManager.h>
#include <GeometryCache.h>
#include <PathUtils.h>
@ -68,8 +65,6 @@ void Grid3DOverlay::render(RenderArgs* args) {
auto position = getPosition();
if (_followCamera) {
auto avatar = DependencyManager::get<AvatarManager>()->getMyAvatar();
// Get the camera position rounded to the nearest major grid line
// This grid is for UI and should lie on worldlines
auto cameraPosition =