DRW: Fix DRW_shgroup_create_sub returning source shgroup

instead of the actual sub group...
This commit is contained in:
2018-10-17 19:01:56 +02:00
parent f666be6edf
commit c9faaa6ea7

View File

@@ -1046,7 +1046,7 @@ DRWShadingGroup *DRW_shgroup_create_sub(DRWShadingGroup *shgroup)
BLI_LINKS_INSERT_AFTER(&shgroup->pass_parent->shgroups, shgroup, shgroup_new);
return shgroup;
return shgroup_new;
}
/** \} */