Hi,

I've just started programming 3D stuff with OpenSceneGraph, and noticed that if during a full-screen rendering I try to disable and then re-enable my laptop's touchpad (with a Fn+F9 combination, in my case), everything freezes and the viewer doesn't react to any input, both from keyboard or mouse/touchpad, so the only way to close it is by killing it.

Using Fedora 20 with Gnome 3 on ASUS Zenbook with integrated Intel GPU, the dedicated nVidia is disabled.
OpenSceneGraph v 3.2.0

Here's the code of my simple demo application:

---------------------------------------
#include <osgViewer/Viewer>
#include <osg/Geode>
#include <osg/ShapeDrawable>

int main(int argc, char** argv)
{
        osg::ref_ptr<osg::ShapeDrawable> box = new osg::ShapeDrawable;
        box->setShape(new osg::Box(osg::Vec3(3.0f, 0.0f, 0.0f), 2.0f, 2.0f,
                                   1.0f));

        osg::ref_ptr<osg::Geode> root = new osg::Geode;
        root->addDrawable(box.get());

        osgViewer::Viewer viewer;
        viewer.setSceneData(root.get());

        return viewer.run();
}
---------------------------------------

Is this a bug?

Thank you!

Cheers,
Ivan
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to