diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-28 07:02:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-28 07:02:09 +0400 |
commit | 592879bfca658d18fca54bd6a715304008a77f2c (patch) | |
tree | d8f1cf85f7e74e5e50611a39e415191ea4c6244c /source/blender/editors/sculpt_paint | |
parent | 36b8846f6e934d1e1929826823b0d7eb2c3fbb6f (diff) |
prefix common internal operator function names so its possible to assign them breakpoints.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index d49ce0cf49a..e08f6fcbffa 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -5583,7 +5583,7 @@ static int texture_paint_image_from_view_exec(bContext *C, wmOperator *op) if(h > maxsize) h= maxsize; ibuf= ED_view3d_draw_offscreen_imbuf(CTX_data_scene(C), CTX_wm_view3d(C), CTX_wm_region(C), w, h, IB_rect, err_out); - if(!ibuf) { + if(!ibuf || 1) { /* Mostly happens when OpenGL offscreen buffer was failed to create, */ /* but could be other reasons. Should be handled in the future. nazgul */ BKE_reportf(op->reports, RPT_ERROR, "Failed to create OpenGL offscreen buffer: %s", err_out); |