mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:13:29 +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() {
|
void PolyLineEntityRenderer::updateGeometry() {
|
||||||
int maxNumVertices = std::min(_points.length(), _normals.length());
|
int maxNumVertices = std::min(_points.length(), _normals.length());
|
||||||
|
|
||||||
qDebug()<<"QQQ_ widths size: "<< _widths.size();
|
|
||||||
qDebug()<<"QQQ_ MaxNumbVertices: "<<maxNumVertices;
|
|
||||||
|
|
||||||
bool doesStrokeWidthVary = false;
|
bool doesStrokeWidthVary = false;
|
||||||
if (_widths.size() > 0) {
|
if (_widths.size() > 0) {
|
||||||
for (int i = 1; i < maxNumVertices; i++) {
|
for (int i = 1; i < maxNumVertices; i++) {
|
||||||
|
@ -215,8 +211,9 @@ void PolyLineEntityRenderer::updateGeometry() {
|
||||||
glm::vec3 point = _points[i];
|
glm::vec3 point = _points[i];
|
||||||
|
|
||||||
float width=PolyLineEntityItem::DEFAULT_LINE_WIDTH;
|
float width=PolyLineEntityItem::DEFAULT_LINE_WIDTH;
|
||||||
if(_widths.size()>0 && i < _widths.size())
|
if(_widths.size()>0 && i < _widths.size()) {
|
||||||
width = _widths[i];
|
width = _widths[i];
|
||||||
|
}
|
||||||
|
|
||||||
if (i > 0) { // First uCoord is 0.0f
|
if (i > 0) { // First uCoord is 0.0f
|
||||||
if (!_isUVModeStretch) {
|
if (!_isUVModeStretch) {
|
||||||
|
|
Loading…
Reference in a new issue