Orange: Node previews now draw standard backdrop to show alpha better.

This commit is contained in:
2006-01-04 12:41:13 +00:00
parent 3153a238b3
commit ec01a66a6b
2 changed files with 22 additions and 1 deletions

View File

@@ -1013,7 +1013,7 @@ static void shade_lamp_loop_preview(ShadeInput *shi, ShadeResult *shr)
if(inp>1.0f) inp= 1.0f;
shr->alpha= (1.0f-inp)*shr->alpha+inp;
}
}
}
}
static void shade_preview_pixel(ShadeInput *shi, float *vec, int x, int y, char *rect, short pr_rectx, short pr_recty)