Commit cf9c0001 authored by Jan Möbius's avatar Jan Möbius

Dennis fixed wheel bug ( bug 267 )

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6761 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 578a0684
......@@ -2052,15 +2052,37 @@ void glViewer::snapshot()
}
void glViewer::slotHideWheels() {
wheelX_->hide();
wheelY_->hide();
wheelZ_->hide();
if (isVisible())
{
wheelX_->hide();
wheelY_->hide();
wheelZ_->hide();
}
else
{
show ();
wheelX_->hide();
wheelY_->hide();
wheelZ_->hide();
hide ();
}
}
void glViewer::slotShowWheels() {
wheelX_->show();
wheelY_->show();
wheelZ_->show();
if (isVisible())
{
wheelX_->show();
wheelY_->show();
wheelZ_->show();
}
else
{
show ();
wheelX_->show();
wheelY_->show();
wheelZ_->show();
hide ();
}
}
bool glViewer::wheelsVisible() {
......
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