Workaround for weightpoint not working
Kudos to Germano Cavalcante for spotting the issue, the real fix is to pass SL to the function though
This commit is contained in:
parent
31c272e840
commit
db444fc783
|
@ -2677,7 +2677,8 @@ static void editbmesh_build_data(Scene *scene, Object *obedit, BMEditMesh *em, C
|
|||
|
||||
static CustomDataMask object_get_datamask(const Scene *scene, Object *ob, bool *r_need_mapping)
|
||||
{
|
||||
Object *actob = scene->basact ? scene->basact->object : NULL;
|
||||
SceneLayer *sl = scene->render_layers.first; /* XXX TODO pass SceneLayer to this function */
|
||||
Object *actob = sl->basact ? sl->basact->object : NULL;
|
||||
CustomDataMask mask = ob->customdata_mask;
|
||||
|
||||
if (r_need_mapping) {
|
||||
|
|
Loading…
Reference in New Issue