diff options
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r-- | source/blender/editors/render/render_preview.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index a1ef042f8e4..73d7fc2abee 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -1053,8 +1053,10 @@ static void shader_preview_render(ShaderPreview *sp, ID *id, int split, int firs /* callbacs are cleared on GetRender() */ if(ELEM(sp->pr_method, PR_BUTS_RENDER, PR_NODE_RENDER)) { RE_display_draw_cb(re, sp, shader_preview_draw); - RE_test_break_cb(re, sp, shader_preview_break); } + /* set this for all previews, default is react to G.afbreek still */ + RE_test_break_cb(re, sp, shader_preview_break); + /* lens adjust */ oldlens= ((Camera *)sce->camera->data)->lens; if(sizex > sp->sizey) |