mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-11 10:25:28 +02:00
fixing comment since the original check was correct
This commit is contained in:
parent
5a7c8c3126
commit
f5852139f7
1 changed files with 1 additions and 5 deletions
|
@ -209,11 +209,7 @@ void PolyLineEntityRenderer::updateGeometry() {
|
|||
for (int i = 0; i < maxNumVertices; i++) {
|
||||
// Position
|
||||
glm::vec3 point = _points[i];
|
||||
|
||||
float width=PolyLineEntityItem::DEFAULT_LINE_WIDTH;
|
||||
if(_widths.size()>0 && i < _widths.size()) {
|
||||
width = _widths[i];
|
||||
}
|
||||
float width = i < _widths.size() ? _widths[i] : PolyLineEntityItem::DEFAULT_LINE_WIDTH;
|
||||
|
||||
if (i > 0) { // First uCoord is 0.0f
|
||||
if (!_isUVModeStretch) {
|
||||
|
|
Loading…
Reference in a new issue