A nurbs sphere parented to Bone accidentally was treated as parented to
armature (deform) in renderconverter.
This commit is contained in:
Ton Roosendaal
2004-07-23 20:47:47 +00:00
parent a856becb52
commit 2d54d7b3ce

View File

@@ -1828,8 +1828,7 @@ static void init_render_surf(Object *ob)
end_latt_deform();
}
#ifdef __NLA
if(ob->parent && ob->parent->type==OB_ARMATURE) {
if(ob->partype==PARSKEL && ob->parent && ob->parent->type==OB_ARMATURE) {
/* bArmature *arm= ob->parent->data; */
init_armature_deform(ob->parent, ob);
dl= displist.first;
@@ -1843,7 +1842,6 @@ static void init_render_surf(Object *ob)
dl= dl->next;
}
}
#endif
if(ob->parent && ob->parent->type==OB_IKA) {
Ika *ika= ob->parent->data;