Blender Git Loki

Git Commits -> Revision d75e0f3

Revision d75e0f3 by Lukas Toenne (master)
July 8, 2013, 11:38 (GMT)
Fix #36024. This part fixes user counting for node editor trees. The user count previously would only work correctly for node trees which are part of material, scene, etc. or linked by group nodes. Any
custom pynodes tree edited directly as library data would get a 0 user count on reload and subsequently not be saved. Now the node space follows the same pattern as the image space: the node tree(s) user
count gets incremented on file load and opening in the editor ensures a real user. This leads to 1 "unreal" user for the editor (dropped on reload), but seems to be the only viable solution atm.

Commit Details:

Full Hash: d75e0f320b4af13d5a35c5787a8ff992b959149e
SVN Revision: 58075
Parent Commit: fa7e690
Lines Changed: +10, -4

2 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+5, -4) (Diff)
/source/blender/editors/space_node/space_node.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021