Commit 8dd66a63 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[DOC] - cleaned some doc

parent df877080
......@@ -183,12 +183,9 @@ void WMColormapper::moduleMain()
boost::shared_ptr< WDataSetSingle > dataSet = m_input->getData();
// add a colorbar (HACK!)
// add a colorbar
if( dataSet && dataSet->isTexture() )
{
// TODO(ebaum): this is not the best possible solution. Actually, its a hack.
// A nice solution would be some more abstract "widget" system
// create camera oriented 2d projection
m_barProjection = new osg::Projection();
m_barProjection->addUpdateCallback( new WGENodeMaskCallback( m_showColorbar ) );
......
......@@ -264,7 +264,6 @@ void WQtGLWidget::keyReleaseEvent( QKeyEvent* event )
case Qt::Key_2:
setCameraManipulator( TWO_D );
break;
// TODO( ebaum ): replace this
case Qt::Key_F12:
makeScreenshot();
break;
......@@ -381,7 +380,7 @@ void WQtGLWidget::changeBGColor()
void WQtGLWidget::makeScreenshot()
{
// TODO( ebaum ): replace this
// TODO(ebaum): replace this with the better screenshotter which resides in my branch
// grab content first to avoid making a screenshot of the file dialog :)
QPixmap q = QPixmap::grabWindow( this->winId() );
......
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