Fix Collada building after changes in API.
Seriously guys... *Full* build when you change APIs!
This commit is contained in:
parent
f9deea57d9
commit
98dcd33238
|
@ -178,7 +178,7 @@ void AnimationExporter::export_morph_animation(Object *ob)
|
|||
|
||||
void AnimationExporter::make_anim_frames_from_targets(Object *ob, std::vector<float> &frames )
|
||||
{
|
||||
ListBase *conlist = get_active_constraints(ob);
|
||||
ListBase *conlist = get_active_constraints(this->eval_ctx, ob);
|
||||
if (conlist == NULL) return;
|
||||
bConstraint *con;
|
||||
for (con = (bConstraint *)conlist->first; con; con = con->next) {
|
||||
|
@ -1539,7 +1539,7 @@ bool AnimationExporter::validateConstraints(bConstraint *con)
|
|||
|
||||
void AnimationExporter::calc_ob_mat_at_time(Object *ob, float ctime , float mat[][4])
|
||||
{
|
||||
ListBase *conlist = get_active_constraints(ob);
|
||||
ListBase *conlist = get_active_constraints(this->eval_ctx, ob);
|
||||
bConstraint *con;
|
||||
for (con = (bConstraint *)conlist->first; con; con = con->next) {
|
||||
ListBase targets = {NULL, NULL};
|
||||
|
|
Loading…
Reference in New Issue