removed debugg helpers

This commit is contained in:
amer cerkic 2019-02-26 14:53:44 -08:00
parent 4c6bea48b2
commit 5a7c8c3126

View file

@ -183,10 +183,6 @@ void PolyLineEntityRenderer::doRenderUpdateAsynchronousTyped(const TypedEntityPo
void PolyLineEntityRenderer::updateGeometry() {
int maxNumVertices = std::min(_points.length(), _normals.length());
qDebug()<<"QQQ_ widths size: "<< _widths.size();
qDebug()<<"QQQ_ MaxNumbVertices: "<<maxNumVertices;
bool doesStrokeWidthVary = false;
if (_widths.size() > 0) {
for (int i = 1; i < maxNumVertices; i++) {
@ -215,8 +211,9 @@ void PolyLineEntityRenderer::updateGeometry() {
glm::vec3 point = _points[i];
float width=PolyLineEntityItem::DEFAULT_LINE_WIDTH;
if(_widths.size()>0 && i < _widths.size())
if(_widths.size()>0 && i < _widths.size()) {
width = _widths[i];
}
if (i > 0) { // First uCoord is 0.0f
if (!_isUVModeStretch) {