mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:56:43 +00:00 
			
		
		
		
	Merge branch 'cleanup-improve-scene-colors' into 'master'
[OpenMW-CS][FIX] Clean up PR !442 See merge request OpenMW/openmw!451
This commit is contained in:
		
						commit
						1d03b46422
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -301,8 +301,6 @@ osg::ref_ptr<osg::Geometry> SceneWidget::createGradientRectangle(QColor bgColour
 | 
			
		|||
    colours->push_back(osg::Vec4ub(bgColour.red(), bgColour.green(), bgColour.blue(), 1.0f));
 | 
			
		||||
    colours->push_back(osg::Vec4ub(bgColour.red(), bgColour.green(), bgColour.blue(), 1.0f));
 | 
			
		||||
 | 
			
		||||
    osg::Vec4ub bgVec = osg::Vec4ub(bgColour.red(), bgColour.green(), bgColour.blue(), 1.0f);
 | 
			
		||||
 | 
			
		||||
    geometry->setColorArray(colours, osg::Array::BIND_PER_VERTEX);
 | 
			
		||||
 | 
			
		||||
    geometry->getOrCreateStateSet()->setMode(GL_LIGHTING, osg::StateAttribute::OFF);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue