mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:56:43 +00:00 
			
		
		
		
	moved fog button from unpaged worldspace to worldspace
This commit is contained in:
		
							parent
							
								
									e04ead2bd5
								
							
						
					
					
						commit
						e177b66c1d
					
				
					 3 changed files with 1 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -33,14 +33,6 @@ void CSVRender::UnpagedWorldspaceWidget::update()
 | 
			
		|||
    flagAsModified();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void CSVRender::UnpagedWorldspaceWidget::addVisibilitySelectorButtons (
 | 
			
		||||
    CSVWidget::SceneToolToggle2 *tool)
 | 
			
		||||
{
 | 
			
		||||
    WorldspaceWidget::addVisibilitySelectorButtons (tool);
 | 
			
		||||
 | 
			
		||||
    tool->addButton (Element_Fog, "Fog");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
CSVRender::UnpagedWorldspaceWidget::UnpagedWorldspaceWidget (const std::string& cellId, CSMDoc::Document& document, QWidget* parent)
 | 
			
		||||
: WorldspaceWidget (document, parent), mCellId (cellId)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -32,10 +32,6 @@ namespace CSVRender
 | 
			
		|||
 | 
			
		||||
            void update();
 | 
			
		||||
 | 
			
		||||
        protected:
 | 
			
		||||
 | 
			
		||||
            virtual void addVisibilitySelectorButtons (CSVWidget::SceneToolToggle2 *tool);
 | 
			
		||||
 | 
			
		||||
        public:
 | 
			
		||||
 | 
			
		||||
            UnpagedWorldspaceWidget (const std::string& cellId, CSMDoc::Document& document,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -266,6 +266,7 @@ void CSVRender::WorldspaceWidget::addVisibilitySelectorButtons (
 | 
			
		|||
    tool->addButton (Element_Terrain, "Terrain");
 | 
			
		||||
    tool->addButton (Element_Water, "Water");
 | 
			
		||||
    tool->addButton (Element_Pathgrid, "Pathgrid");
 | 
			
		||||
    tool->addButton (Element_Fog, "Fog");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void CSVRender::WorldspaceWidget::addEditModeSelectorButtons (CSVWidget::SceneToolMode *tool)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue