Code Cleanup:
authorCampbell Barton <ideasman42@gmail.com>
Mon, 6 Feb 2012 22:17:41 +0000 (22:17 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 6 Feb 2012 22:17:41 +0000 (22:17 +0000)
commit297a21c39a9b33337b168b32adf0538b11d56510
treecb15b1bf2221504a17dd65cbd059da1a2126750c
parent10985c38d6e3122f8fcd58443d4fb09edfb84315
Code Cleanup:

don't call CTX_data_scene(C) for every marker drawn
also remove unneeded call when scene was already defined as well as redundant scene cast.
source/blender/editors/animation/anim_markers.c
source/blender/editors/interface/interface_ops.c
source/blender/editors/space_clip/space_clip.c
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_image/space_image.c
source/blender/editors/space_node/node_edit.c