Blender Git Loki
Git Commits -> Revision 9691202
Revision 9691202 by Bastien Montagne (master) January 9, 2016, 08:29 (GMT) |
Fix T47121: Image node on linked and localized material loses image after reopening project. Code 'localizing' the node of an ID (a material, here) was kind of a joke, setting id.lib to NULL is not enough, by far! Now calling ntreeMakeLocal(). And ntreeMakeLocal was also missing indirect->extern switch for its directly used IDs, which explains why they were lost after a save/reload. Note that here again, a big part of this 'localizing' code should be made generic using library_query stuff, but this is for id-remap, not current master... |
Commit Details:
Full Hash: 969120258532b3a261d42eac9092f2bdfee5cd5f
Parent Commit: 425a4b2
Lines Changed: +12, -1