Two tiny compositor annoyances;

- Image Node: after loading new file it didn't update the header name
- File-out Node: header color suggested there was only 1 'active', which
  it isn't.
This commit is contained in:
2006-11-13 16:43:45 +00:00
parent a43ba01c84
commit b771cd9ca8
2 changed files with 8 additions and 1 deletions

View File

@@ -195,8 +195,10 @@ static void load_node_image(char *str) /* called from fileselect */
node->id->us--;
node->id= &ima->id;
ima->id.us++;
id_us_plus(node->id);
BLI_strncpy(node->name, node->id->name+2, 21);
free_image_buffers(ima); /* force read again */
ima->ok= 1;