Blender Git Loki

Git Commits -> Revision a15a395

Revision a15a395 by Porteries Tristan (master)
October 28, 2015, 21:11 (GMT)
BGE: Fix T35188: Duplicate an instance of group.

This behavior caused a double free.
Before when we duplicated an instance of a group the new instance keep the pointer of the group but was not added in the group instance list (normal).
And during the object deletion we tried to remove the object in the instance list but anyways if it failed decrement the reference count.
Set the group and the instance list to NULL in ProcessReplica avoid these kind of problems.

Commit Details:

Full Hash: a15a3952f4270bb0ddb28d8118fc63707e065bde
Parent Commit: 138decb
Lines Changed: +5, -0

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021