Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-12-30 14:25:15 +0300
committerTon Roosendaal <ton@blender.org>2005-12-30 14:25:15 +0300
commitd921d6be6f3b06cc49923d3546b4105ec9a247f4 (patch)
tree338f76791accc95999e2d94e2eabc85406389a59 /source/blender/src/mywindow.c
parent10d67f254c6ed61b395402294b91ffb3389c41a8 (diff)
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.
Diffstat (limited to 'source/blender/src/mywindow.c')
-rw-r--r--source/blender/src/mywindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/mywindow.c b/source/blender/src/mywindow.c
index 5a0d8eb3ce1..f211558bacf 100644
--- a/source/blender/src/mywindow.c
+++ b/source/blender/src/mywindow.c
@@ -478,7 +478,7 @@ void myortho2(float x1, float x2, float y1, float y2)
/* prevent opengl from generating errors */
if(x1==x2) x2+=1.0;
if(y1==y2) y2+=1.0;
- bwin_ortho(curswin, x1, x2, y1, y2, -1, 1);
+ bwin_ortho(curswin, x1, x2, y1, y2, -100, 100);
}
void mywindow(float x1, float x2, float y1, float y2, float n, float f)