From f9855c35ec3201c12dc267739e0cfea0d57c9f96 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 28 Jan 2009 16:44:46 +0000 Subject: [PATCH] Removed comments. --- src/osgWidget/Window.cpp | 2 +- src/osgWidget/WindowManager.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/osgWidget/Window.cpp b/src/osgWidget/Window.cpp index c98e4580f..2fcec7583 100644 --- a/src/osgWidget/Window.cpp +++ b/src/osgWidget/Window.cpp @@ -417,7 +417,7 @@ void Window::_setWidthAndHeight() { void Window::_removeFromGeode(Widget* widget) { if(!widget) return; - widget->_index = 0; // was originally -1, but _index is a unsigned int... + widget->_index = 0; _setParented(widget, true); diff --git a/src/osgWidget/WindowManager.cpp b/src/osgWidget/WindowManager.cpp index 5aaffac16..2fb9f4d72 100644 --- a/src/osgWidget/WindowManager.cpp +++ b/src/osgWidget/WindowManager.cpp @@ -256,8 +256,8 @@ void WindowManager::childRemoved(unsigned int start, unsigned int numChildren) { if(!window) continue; if(_remove(window)) { - window->_index = 0; // was originally -1, but _index is a unsigned int... - + + window->_index = 0; window->unmanaged(this); } }