Fix: USD: Incorrect call to Map::add_new during dupli-vert export
Mistake in 6704647c66. Test coverage being added for another bug fix
uncovered this one.
Problem occurs when exporting an object that is duplicating at least two
other objects with the dupli vert system.
Pull Request: https://projects.blender.org/blender/blender/pulls/135369
This commit is contained in:
committed by
Jesse Yurkovich
parent
1ad39b95d9
commit
ae1a5aa2a1
@@ -15,7 +15,7 @@ void DupliParentFinder::insert(const DupliObject *dupli_ob)
|
||||
dupli_set_.add(dupli_ob->ob);
|
||||
|
||||
PersistentID dupli_pid(dupli_ob);
|
||||
pid_to_dupli_.add_new(dupli_pid, dupli_ob);
|
||||
pid_to_dupli_.add(dupli_pid, dupli_ob);
|
||||
instancer_pid_to_duplis_.lookup_or_add(dupli_pid.instancer_pid(), {}).add(dupli_ob);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user