Cycles: Fix crash opening user preferences after adding extra GPU
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 19 Dec 2017 14:51:28 +0000 (15:51 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 19 Dec 2017 14:51:28 +0000 (15:51 +0100)
commitab1af38c74a5f20115e14fdd54d7580df380a924
tree6f8620503277544d1a302f3a601de2446172221f
parentb6b9351371b0821c6a308e2f487ce3b394290f02
Cycles: Fix crash opening user preferences after adding extra GPU

We can not store pointers to elements of collection property in the
case we modify that collection. This is like storing pointers to
elements of array before calling realloc().
intern/cycles/blender/addon/properties.py