mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 16:36:55 +02:00
removed debugg helpers
This commit is contained in:
parent
4c6bea48b2
commit
5a7c8c3126
1 changed files with 2 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue