Merge branch 'master' into blender2.8
This commit is contained in:
commit
9ec26c415a
|
@ -630,7 +630,7 @@ void file_draw_list(const bContext *C, ARegion *ar)
|
|||
int colorid = (file_selflag & FILE_SEL_SELECTED) ? TH_HILITE : TH_BACK;
|
||||
int shade = (params->highlight_file == i) || (file_selflag & FILE_SEL_HIGHLIGHTED) ? 35 : 0;
|
||||
|
||||
BLI_assert(i > 0 || FILENAME_IS_CURRPAR(file->relpath));
|
||||
BLI_assert(i == 0 || !FILENAME_IS_CURRPAR(file->relpath));
|
||||
|
||||
draw_tile(sx, sy - 1, layout->tile_w + 4, sfile->layout->tile_h + layout->tile_border_y, colorid, shade);
|
||||
}
|
||||
|
|
|
@ -202,7 +202,7 @@ void register_node_type_sh_vect_transform(void)
|
|||
{
|
||||
static bNodeType ntype;
|
||||
|
||||
sh_node_type_base(&ntype, SH_NODE_VECT_TRANSFORM, "Vector Transform", NODE_CLASS_CONVERTOR, 0);
|
||||
sh_node_type_base(&ntype, SH_NODE_VECT_TRANSFORM, "Vector Transform", NODE_CLASS_OP_VECTOR, 0);
|
||||
node_type_compatibility(&ntype, NODE_OLD_SHADING | NODE_NEW_SHADING);
|
||||
node_type_init(&ntype, node_shader_init_vect_transform);
|
||||
node_type_socket_templates(&ntype, sh_node_vect_transform_in, sh_node_vect_transform_out);
|
||||
|
|
Loading…
Reference in New Issue