diff options
author | Matt Ebb <matt@mke3.net> | 2010-05-18 11:59:40 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-05-18 11:59:40 +0400 |
commit | 9862d29a9b665f7f51f2b8a8c56a42f68c9da2d7 (patch) | |
tree | 15a3f4a832903ea2b814155dea08acc2537485a6 /source | |
parent | 0a9d914ad72d68c391beafce3c9984fc4736bc19 (diff) |
Fix [#22303] bpy.ops.image.reload(); texture-button is always inactive
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index 1241dbd9f4e..274d26c8760 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -1155,7 +1155,6 @@ static int reload_exec(bContext *C, wmOperator *op) BKE_image_signal(ima, (sima)? &sima->iuser: NULL, IMA_SIGNAL_RELOAD); WM_event_add_notifier(C, NC_IMAGE|NA_EDITED, ima); - ED_area_tag_redraw(CTX_wm_area(C)); return OPERATOR_FINISHED; } @@ -1168,7 +1167,6 @@ void IMAGE_OT_reload(wmOperatorType *ot) /* api callbacks */ ot->exec= reload_exec; - ot->poll= space_image_poll; /* flags */ ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; |