Todo items:

- New Node editor now opens with larger view, the default
  was like zoomed in factor 2.
- Add node via menu now shows new node more visible
- Click on (material) node now doesn't re-render the entire
  tree anymore, much nicer.
- Duplicate node creates preview image immediate
This commit is contained in:
2011-01-03 14:36:44 +00:00
parent 6ae84f96e0
commit 9676902006
5 changed files with 36 additions and 29 deletions

View File

@@ -108,13 +108,6 @@ static int node_select_exec(bContext *C, wmOperator *op)
/* perform the select */
node= node_mouse_select(snode, ar, mval, extend);
/* WATCH THIS, there are a few other ways to change the active material */
if(node) {
if (node->id && ELEM(GS(node->id->name), ID_MA, ID_TE)) {
WM_event_add_notifier(C, NC_MATERIAL|ND_SHADING_DRAW, node->id);
}
}
/* send notifiers */
WM_event_add_notifier(C, NC_NODE|NA_SELECTED, NULL);