mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:56:43 +00:00 
			
		
		
		
	Add missing visibility flags
This commit is contained in:
		
							parent
							
								
									1de406cb6d
								
							
						
					
					
						commit
						5ec96c5394
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -64,6 +64,8 @@ void TerrainGrid::loadCell(int x, int y)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    element.mChunk = new Terrain::Chunk(mCache.getUVBuffer(), bounds, positions, normals, colours);
 | 
					    element.mChunk = new Terrain::Chunk(mCache.getUVBuffer(), bounds, positions, normals, colours);
 | 
				
			||||||
    element.mChunk->setIndexBuffer(mCache.getIndexBuffer(0));
 | 
					    element.mChunk->setIndexBuffer(mCache.getIndexBuffer(0));
 | 
				
			||||||
 | 
					    element.mChunk->setVisibilityFlags(mVisibilityFlags);
 | 
				
			||||||
 | 
					    element.mChunk->setCastShadows(true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    std::vector<Ogre::PixelBox> blendmaps;
 | 
					    std::vector<Ogre::PixelBox> blendmaps;
 | 
				
			||||||
    std::vector<Terrain::LayerInfo> layerList;
 | 
					    std::vector<Terrain::LayerInfo> layerList;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue