Commits

Anonymous committed 5b7b58b

Crashfix; Guard against 0 pointer in LLRiggedVolume::update.

Comments (0)

Files changed (1)

indra/newview/llvovolume.cpp

 		
 		std::vector<LLViewerTexture*> texture_list;
 
+		if( pos && weight && dst_face.mExtents )
 		{
 			LLFastTimer t(FTM_GEN_DRAW_INFO_FACE_SIZE);
 			if (batch_textures)
 		//create vertex buffer
 		LLVertexBuffer* buffer = NULL;
 
+		if( dst_face.mExtents )
 		{
 			LLFastTimer t(FTM_GEN_DRAW_INFO_ALLOCATE);
 			buffer = createVertexBuffer(mask, buffer_usage);