Fix T60056: Make Duplicates Real with Keep Hierarchy does nothing
Caused by rB36ca072375deea4803df4681716c1d3224095e07 [one instance of `DEG_get_original_object` was neccesary, the other one breaks getting the parent in `BLI_ghash_lookup`] Reviewed by: brecht Differential Revision: https://developer.blender.org/D4154
This commit is contained in:
@@ -1609,7 +1609,7 @@ static void make_object_duplilist_real(bContext *C, Scene *scene, Base *base,
|
||||
}
|
||||
|
||||
for (dob = lb_duplis->first; dob; dob = dob->next) {
|
||||
Object *ob_src = DEG_get_original_object(dob->ob);
|
||||
Object *ob_src = dob->ob;
|
||||
Object *ob_dst = BLI_ghash_lookup(dupli_gh, dob);
|
||||
|
||||
/* Remap new object to itself, and clear again newid pointer of orig object. */
|
||||
|
Reference in New Issue
Block a user