Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2016-04-15 14:13:00 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-04-15 14:19:41 +0300
commit10320891f0468716e3f4029c3136f3b86587cef2 (patch)
tree78e7236ccce2e93cbdee47292daad3c97c65faf6 /intern/cycles/bvh/bvh_build.cpp
parent8ac662c77aa59c9eea5fc85c4a40546bcb1b4557 (diff)
Fix T48151: Brush texture overlay won't refresh automatically in UV editor when changed in buttons window.
Simple solution is to get rid of this stupid `rna_TextureSlot_brush_update` func, and do what it was doing directly in BR case of `rna_TextureSlot_update`. That way, all updates to brush texture will invalidate correctly the overlay. Note that this double definition of texture pointer for brushes looks rather fishy, am really not convinced this helps keeping things simple and clear at all (what happened here is that texture selector in image paint editor was using 'texture' member of brush itself, which was performing correct RNA update, while context-based brush texture selector from buttons space was using 'texture' member of the TextureSlot struct, which had default texture update callback which was not invalidating overlay).
Diffstat (limited to 'intern/cycles/bvh/bvh_build.cpp')
0 files changed, 0 insertions, 0 deletions