another code cleanup

This commit is contained in:
Eric Levin 2015-06-02 13:56:18 -07:00
parent 55ffb7f1c0
commit a98baef736

View file

@ -33,7 +33,7 @@ void RenderableLineEntityItem::render(RenderArgs* args) {
glPushMatrix(); glPushMatrix();
glLineWidth(getLineWidth()); glLineWidth(getLineWidth());
auto geometryCache = DependencyManager::get<GeometryCache>(); auto geometryCache = DependencyManager::get<GeometryCache>();
if(_lineVerticesID == GeometryCache::UNKNOWN_ID){ if (_lineVerticesID == GeometryCache::UNKNOWN_ID) {
_lineVerticesID = geometryCache ->allocateID(); _lineVerticesID = geometryCache ->allocateID();
} }
//TODO: Figure out clean , efficient way to do relative line positioning. For now we'll just use absolute positioning. //TODO: Figure out clean , efficient way to do relative line positioning. For now we'll just use absolute positioning.