Blender Git Commit Log

Git Commits -> Revision 875c131

Revision 875c131 by Bastien Montagne (master)
July 21, 2016, 21:07 (GMT)
Fix broken proxy object deletion.

Check to ensure we do not delete last instancing of an indirectly used object (forbidden
because it creates 'ghost' objects user have no real way to re-instance) was defeated by
the backward pointer 'proxy_from', which generated a 'false' indirect usage of (local)
proxy object itself (the one we are trying to delete).

Fixed by actually considering that ID usage as local if proxy object itself is local
(because that pointer actually does not 'pertain' to the object holding it, but to its proxy).

Yeah, it's... complicated, twisted and ugly - it's proxy.

Commit Details:

Full Hash: 875c1313b12db97ad7dc00868566d4652be3316a
Parent Commit: 6ebce7e
Lines Changed: +9, -0

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020