- bug fix #1843
https://projects.blender.org/tracker/index.php?func=detail&aid=1843&group_id=9&atid=125 function find_basis_mball() sometimes returned duplicated MetaBall as basis mball, which caused crash of Blender. It happened only when basis MBall object was used for duplication. It was propably caused by some changes in duplicator code.
This commit is contained in:
@@ -329,8 +329,10 @@ Object *find_basis_mball(Object *basis)
|
||||
else ml= ((MetaBall*)ob->data)->elems.first;
|
||||
|
||||
if(obnr<basisnr){
|
||||
basis= ob;
|
||||
basisnr= obnr;
|
||||
if(!(ob->flag & OB_FROMDUPLI)){
|
||||
basis= ob;
|
||||
basisnr= obnr;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user