Starting from 2021-07-01, all LRZ GitLab users will be required to explicitly accept the GitLab Terms of Service. Please see the detailed information at https://doku.lrz.de/display/PUBLIC/GitLab and make sure that your projects conform to the requirements.

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

Fixed two minor issues:

* Geometry1DTransferFunctionEditor not correctly drawing image intensity histogram.
* VolumeExplorer not always initializing slice- and raycasting render size properties.
parent 84207ea3
......@@ -136,6 +136,9 @@ namespace campvis {
glVertex2f(xl, yl);
glVertex2f(xr, yr);
glVertex2f(xr, 0.f);
xl = xr;
yl = yr;
}
glEnd();
}
......
......@@ -111,6 +111,9 @@ namespace campvis {
_raycaster.s_invalidated.connect(this, &VolumeExplorer::onProcessorInvalidated);
_quad = GeometryDataFactory::createQuad(tgt::vec3(0.f), tgt::vec3(1.f), tgt::vec3(0.f), tgt::vec3(1.f));
// force recalculation of p_sliceRenderSize and p_volumeRenderSize
onPropertyChanged(_viewportSizeProperty);
}
void VolumeExplorer::deinit() {
......
Markdown is supported
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