Blender Git Loki

Git Commits -> Revision 0f3515d

Revision 0f3515d by Lukas Toenne (master)
March 19, 2013, 10:42 (GMT)
Fixes for context updates of the node editor:
* If the node tree can be updated from context (tree has get_from_context callback defined), reset the pointers first to clear the editor path if no tree can be found.
* Stupid mistake: snode->from != snode->from is always false.
* Shader nodes context update: set the 'from' pointer to the active object, even if it doesn't have a material or node tree.

Commit Details:

Full Hash: 0f3515d4e2cdb4df68540e1dfd74b1dc9e1e821e
SVN Revision: 55408
Parent Commit: 4857d62
Lines Changed: +15, -8

3 Modified Paths:

/source/blender/editors/space_node/node_edit.c (+8, -2) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+1, -2) (Diff)
/source/blender/nodes/texture/node_texture_tree.c (+6, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021