Blender Git Loki

Git Commits -> Revision 110373d

Revision 110373d by Dalai Felinto (master)
December 27, 2017, 15:39 (GMT)
Fix T53638: View layer renaming crashes 2/2

This fixes renaming the view layer via Python.

This bug was introduced originally in 3a95bdfc65d. Although I suspect it was
around for longer, since this commit didn't touch this part of the code.

But basically we need the id of the RNA property to be the one that owns
the data (view layer).

Commit Details:

Full Hash: 110373de6a52a20eb759aea9a11e4c45fcdb619b
Parent Commit: b517dc9
Lines Changed: +39, -1

1 Added Path:

/tests/python/view_layer/test_view_layer_rename.py (+33, -0) (View)

2 Modified Paths:

/source/blender/makesrna/intern/rna_context.c (+5, -1) (Diff)
/tests/python/view_layer/CMakeLists.txt (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021