Orange: daily noodle updates;
- Texture Node: now displays 'intensity values' in node too, and has input, and shows in buttons when activated in Node editor. (no browsing buttons yet...) - New: "Normal Node". This uses a new UI button, which allows to quickly input a normal vector, based on spherical coordinates. The Normal Node has optional vector input, and delivers a dot product then. This can be used as a blending factor between nodes, or for fake extra light in a certain direction. - New: "Geometry Node". This actually replaces the Input node. It offers all coordinates (vectors) as being the starting point for shading and for textures. Note: for preview render this doesn't give much different results yet... this is the start for real render support! - http://www.blender.org/bf/rt5.jpg The two new nodes in action - Bugfix: the "Block" button (which delivers popups) did not return a correct event when nothing happened (mouse moved out), which could cause mouse clicks to be passed on to the queue.
This commit is contained in:
@@ -357,6 +357,7 @@ static void draw_tex_crop(Tex *tex)
|
||||
|
||||
}
|
||||
|
||||
/* temporal abuse; if id_code is -1 it only does texture.... solve! */
|
||||
void BIF_preview_changed(short id_code)
|
||||
{
|
||||
ScrArea *sa;
|
||||
@@ -370,7 +371,7 @@ void BIF_preview_changed(short id_code)
|
||||
if (sbuts->ri) sbuts->ri->cury= 0;
|
||||
addafterqueue(sa->win, RENDERPREVIEW, 1);
|
||||
}
|
||||
else if(tab==TAB_SHADING_TEX && (id_code==ID_TE)) {
|
||||
else if(tab==TAB_SHADING_TEX && (id_code==ID_TE || id_code==-1)) {
|
||||
if (sbuts->ri) sbuts->ri->cury= 0;
|
||||
addafterqueue(sa->win, RENDERPREVIEW, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user