Blender Git Commit Log

Git Commits -> Revision f70921d

Revision f70921d by Lukas Toenne (master)
January 20, 2014, 11:52 (GMT)
Fix T38221: node fcurves in compositor get deleted when muting a node.

This is because of the animdata cleanup in rBd2e55cb. This works ok in
general, but causes issues with the localized node trees used for compo/
shader/texture previews. These localized trees share the same default
action as their original trees, and then remove fcurves when removing
muted nodes (which should affect the localized tree only).

node_free_node_ex now has an argument for disabling animdata cleanup,
which is also not necessary when freeing the whole node tree (because
animdata is freed in advance anyway). In addition to that it also checks
the NTREE_IS_LOCALIZED flag to prevent freeing of fcurves in the action.

Commit Details:

Full Hash: f70921d90ccbaf6d54f5bcc90a9ef665d9001361
Parent Commit: 1b3fdc4
Lines Changed: +17, -9

1 Modified Path:

/source/blender/blenkernel/intern/node.c (+17, -9) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021