forked from bartvdbraak/blender
While making TransData, with mixed selection of objects and ipokeys, the
transdata pointers were increased wrong, creating empty gaps (NULL)
This commit is contained in:
parent
b1bd69c6f1
commit
f26e4ca150
@ -2107,18 +2107,20 @@ static void createTransObject(TransInfo *t)
|
|||||||
ObjectToTransData(td, ob);
|
ObjectToTransData(td, ob);
|
||||||
td->tdi = NULL;
|
td->tdi = NULL;
|
||||||
td->val = NULL;
|
td->val = NULL;
|
||||||
|
td++;
|
||||||
|
tx++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ObjectToTransData(td, ob);
|
ObjectToTransData(td, ob);
|
||||||
td->tdi = NULL;
|
td->tdi = NULL;
|
||||||
td->val = NULL;
|
td->val = NULL;
|
||||||
}
|
|
||||||
td++;
|
td++;
|
||||||
tx++;
|
tx++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void createTransData(TransInfo *t)
|
void createTransData(TransInfo *t)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user