move editmesh derived mesh functions into their own file to match bmesh, without this all merges in this area have to be done manually.
This commit is contained in:
		@@ -564,6 +564,16 @@ typedef struct DMVertexAttribs {
 | 
				
			|||||||
	int tottface, totmcol, tottang, totorco;
 | 
						int tottface, totmcol, tottang, totorco;
 | 
				
			||||||
} DMVertexAttribs;
 | 
					} DMVertexAttribs;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* should be local, bmesh replaces this */
 | 
				
			||||||
 | 
					typedef struct {
 | 
				
			||||||
 | 
						DerivedMesh dm;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						struct EditMesh *em;
 | 
				
			||||||
 | 
						float (*vertexCos)[3];
 | 
				
			||||||
 | 
						float (*vertexNos)[3];
 | 
				
			||||||
 | 
						float (*faceNos)[3];
 | 
				
			||||||
 | 
					} EditMeshDerivedMesh;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void DM_vertex_attributes_from_gpu(DerivedMesh *dm,
 | 
					void DM_vertex_attributes_from_gpu(DerivedMesh *dm,
 | 
				
			||||||
	struct GPUVertexAttribs *gattribs, DMVertexAttribs *attribs);
 | 
						struct GPUVertexAttribs *gattribs, DMVertexAttribs *attribs);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -91,6 +91,7 @@ set(SRC
 | 
				
			|||||||
	intern/displist.c
 | 
						intern/displist.c
 | 
				
			||||||
	intern/dynamicpaint.c
 | 
						intern/dynamicpaint.c
 | 
				
			||||||
	intern/effect.c
 | 
						intern/effect.c
 | 
				
			||||||
 | 
						intern/editderivedmesh.c
 | 
				
			||||||
	intern/fcurve.c
 | 
						intern/fcurve.c
 | 
				
			||||||
	intern/fluidsim.c
 | 
						intern/fluidsim.c
 | 
				
			||||||
	intern/fmodifier.c
 | 
						intern/fmodifier.c
 | 
				
			||||||
 
 | 
				
			|||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1287
									
								
								source/blender/blenkernel/intern/editderivedmesh.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1287
									
								
								source/blender/blenkernel/intern/editderivedmesh.c
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user