Depsgraph: tag relations for update when aterial slots changes
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 12 Aug 2016 12:59:11 +0000 (14:59 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 12 Aug 2016 12:59:11 +0000 (14:59 +0200)
commit04c7d9d56674f97d14c393488439c93a343823b4
tree839b68ed6d86400201790b31e602fe95a94ae37a
parent82268fa1009dadb526dd6dc2ebc81763aedb2c18
Depsgraph: tag relations for update when aterial slots changes

New dependency graph puts materials to the graph in order to deal with animation
assigned to them and things like that. This leads us to a requirement to update
relations when slots changes.

This fixes: T49075 Assignment of a keyframed material using the frame_change_pre handler
                   doesn't update the keyframe using the new dependency graph
source/blender/blenkernel/BKE_material.h
source/blender/blenkernel/intern/material.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/mesh/editmesh_tools.c
source/blender/makesrna/intern/rna_ID.c