Fix for assert failure in material preview
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 4 Dec 2018 11:30:24 +0000 (12:30 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 4 Dec 2018 11:31:32 +0000 (12:31 +0100)
commit3d013f7b10b6837ab29eccf9a203477e13d278a2
tree6971432c1bb96e2ab540d7dd8337e2580e39ce9c
parente6141d7b3be8520e030de7b9e57264a76aeb588d
Fix for assert failure in material preview

All localized datablocks are not supposed to have animation
data associated with them.

There was an easy way to reproduce assert failure: toggle
animation decorator for Viewport Display -> Color.
source/blender/blenkernel/BKE_library.h
source/blender/blenkernel/intern/lamp.c
source/blender/blenkernel/intern/library.c
source/blender/blenkernel/intern/material.c
source/blender/blenkernel/intern/texture.c
source/blender/blenkernel/intern/world.c