Merge branch 'master' into blender2.8
This commit is contained in:
@@ -82,6 +82,7 @@ set(SRC_HEADERS
|
||||
kernel_accumulate.h
|
||||
kernel_bake.h
|
||||
kernel_camera.h
|
||||
kernel_color.h
|
||||
kernel_compat_cpu.h
|
||||
kernel_compat_cuda.h
|
||||
kernel_compat_opencl.h
|
||||
|
||||
@@ -1272,13 +1272,13 @@ typedef struct KernelFilm {
|
||||
int pass_denoising_clean;
|
||||
int denoising_flags;
|
||||
|
||||
int pad1, pad2, pad3;
|
||||
|
||||
float3 xyz_to_r;
|
||||
float3 xyz_to_g;
|
||||
float3 xyz_to_b;
|
||||
float3 rgb_to_y;
|
||||
|
||||
int pad1, pad2, pad3;
|
||||
|
||||
#ifdef __KERNEL_DEBUG__
|
||||
int pass_bvh_traversed_nodes;
|
||||
int pass_bvh_traversed_instances;
|
||||
|
||||
@@ -2245,13 +2245,15 @@ static int text_scroll_modal(bContext *C, wmOperator *op, const wmEvent *event)
|
||||
case LEFTMOUSE:
|
||||
case RIGHTMOUSE:
|
||||
case MIDDLEMOUSE:
|
||||
if (ELEM(tsc->zone, SCROLLHANDLE_MIN_OUTSIDE, SCROLLHANDLE_MAX_OUTSIDE)) {
|
||||
txt_screen_skip(st, ar, st->viewlines * (tsc->zone == SCROLLHANDLE_MIN_OUTSIDE ? 1 : -1));
|
||||
if (event->val == KM_RELEASE) {
|
||||
if (ELEM(tsc->zone, SCROLLHANDLE_MIN_OUTSIDE, SCROLLHANDLE_MAX_OUTSIDE)) {
|
||||
txt_screen_skip(st, ar, st->viewlines * (tsc->zone == SCROLLHANDLE_MIN_OUTSIDE ? 1 : -1));
|
||||
|
||||
ED_area_tag_redraw(CTX_wm_area(C));
|
||||
ED_area_tag_redraw(CTX_wm_area(C));
|
||||
}
|
||||
scroll_exit(C, op);
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
scroll_exit(C, op);
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
||||
return OPERATOR_RUNNING_MODAL;
|
||||
|
||||
Reference in New Issue
Block a user