Commit a225b081 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Fixed IndexedMeshGeometry::hasPickingInformation() returning wrong value and...

Fixed IndexedMeshGeometry::hasPickingInformation() returning wrong value and thus GeometryRenderer failing to render correctly on AMD GPUs.

refs #382
parent 083a730a
......@@ -203,11 +203,11 @@ namespace campvis {
}
bool IndexedMeshGeometry::hasTextureCoordinates() const {
return ! _textureCoordinates.empty();
return !_textureCoordinates.empty();
}
bool IndexedMeshGeometry::hasPickingInformation() const {
return _pickingInformation.empty();
return !_pickingInformation.empty();
}
void IndexedMeshGeometry::applyTransformationToVertices(const cgt::mat4& t) {
......
......@@ -242,7 +242,7 @@ namespace campvis {
}
bool MultiIndexedGeometry::hasTextureCoordinates() const {
return ! _textureCoordinates.empty();
return !_textureCoordinates.empty();
}
bool MultiIndexedGeometry::hasPickingInformation() const {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment