diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp
index 7d3efb5454657391b66bcba8c55084276722e126..89aba6654d433dd254f17ea66a9096e546cf8a30 100644
--- a/indra/newview/llfloaterpathfindingconsole.cpp
+++ b/indra/newview/llfloaterpathfindingconsole.cpp
@@ -265,8 +265,6 @@ void LLFloaterPathfindingConsole::onClose(bool pIsAppQuitting)
 	setDefaultInputs();
 	setConsoleState(kConsoleStateUnknown);
 	cleanupRenderableRestoreItems();
-	LLPanelNavMeshRebake* pPanelNavMeshRebake = LLPanelNavMeshRebake::getInstance();
-	if ( pPanelNavMeshRebake ) { pPanelNavMeshRebake->setVisible( FALSE ); }
 
 	LLFloater::onClose(pIsAppQuitting);
 }
diff --git a/indra/newview/llpanelnavmeshrebake.cpp b/indra/newview/llpanelnavmeshrebake.cpp
index 0f88c6f1d36a1acb9409586a106b7afac0c7797a..993ade89c988464c22def3454d5e1ec8e099a6b9 100644
--- a/indra/newview/llpanelnavmeshrebake.cpp
+++ b/indra/newview/llpanelnavmeshrebake.cpp
@@ -100,7 +100,6 @@ LLPanelNavMeshRebake* LLPanelNavMeshRebake::getPanel()
 	LLPanelNavMeshRebake* panel = new LLPanelNavMeshRebake();
 	panel->buildFromFile("panel_navmesh_rebake.xml");
 	panel->setVisible(FALSE);
-	//panel->updatePosition();
 	return panel;
 }
 
diff --git a/indra/newview/llpanelnavmeshrebake.h b/indra/newview/llpanelnavmeshrebake.h
index 4e2381b6d642b09d8e3db2981c05529743be4586..468081313e4a1738b38f140e3ab300dc947d633d 100644
--- a/indra/newview/llpanelnavmeshrebake.h
+++ b/indra/newview/llpanelnavmeshrebake.h
@@ -51,7 +51,7 @@ class LLPanelNavMeshRebake : public LLPanel
 	/*virtual*/ void setVisible( BOOL visible );
 
 	
-	/*virtual*/ void draw(){/*updatePosition(); */LLPanel::draw();}
+	/*virtual*/ void draw(){ LLPanel::draw(); }
 	/*virtual*/ BOOL handleToolTip( S32 x, S32 y, MASK mask );
 
 protected:
@@ -61,7 +61,6 @@ class LLPanelNavMeshRebake : public LLPanel
 private:
 	static LLPanelNavMeshRebake* getPanel();
 	void onNavMeshRebakeClick();
-	//void updatePosition();
 
 	LLButton* mNavMeshRebakeButton;
 	LLButton* mNavMeshBakingButton;