BPython:
- fixed bug #1882: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1882&group_id=9 Crash / hang when changing meshes that had edge data. The mesh->totedge value was not being set to 0. Reported by jms, thanks. - fixed bug #1780: https://projects.blender.org/tracker/index.php?func=detail&aid=1780&group_id=9&atid=125. Deleting a Text that was being used as script link crashed Blender. Added a check to unlink the Text from eventual script links when it gets removed. Reported by kaito, thanks. - doc updates (one related to bug #1807: http://projects.blender.org/tracker/?func=detail&atid=125&aid=1807&group_id=9 , actually a little misleading word in the NMesh doc: you can get the subsurfed mesh with NMesh.GetRawFromObject, but it's the display subdivision level that counts).
This commit is contained in:
@@ -2064,8 +2064,10 @@ static int unlink_existingMeshData( Mesh * mesh )
|
||||
EXPP_unlink_mesh( mesh );
|
||||
if( mesh->mvert )
|
||||
MEM_freeN( mesh->mvert );
|
||||
if( mesh->medge )
|
||||
if( mesh->medge ) {
|
||||
MEM_freeN( mesh->medge );
|
||||
mesh->totedge = 0;
|
||||
}
|
||||
if( mesh->mface )
|
||||
MEM_freeN( mesh->mface );
|
||||
if( mesh->mcol )
|
||||
|
||||
Reference in New Issue
Block a user