mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Remove avatar usage from grid3d
This commit is contained in:
parent
c9362a4073
commit
665ef17fce
1 changed files with 0 additions and 5 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue