Fix #33975: Crash when reloading texture
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 24 Jan 2013 08:49:48 +0000 (08:49 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 24 Jan 2013 08:49:48 +0000 (08:49 +0000)
commit6510367c3864723449f9ce1022a55a5e60d7aef9
tree97c7d127131bf92451f282413ffd09227aba6a0e
parent69900035b32ab8e69e3994fee45a23c0f3367a77
Fix #33975: Crash when reloading texture

Two issues in texture_changed:
- Missing NULL check for material (slot could be empty)
- Materials could be linked to object, added special check for this
source/blender/editors/render/render_update.c