forked from bartvdbraak/blender
- at systems with an inverted-draw crosshair cursor (editmode) it was almost
invisible in the 3d win. Jacked up the background grey a tinsy bit to improve that. also made the grid lines brighter, less distracting that way.
This commit is contained in:
parent
f70302670e
commit
84a34eb9b8
@ -444,7 +444,7 @@ static void drawgrid(void)
|
||||
|
||||
persp(0);
|
||||
|
||||
cpack(0x484848);
|
||||
cpack(0x606060);
|
||||
|
||||
x+= (wx);
|
||||
y+= (wy);
|
||||
@ -496,7 +496,7 @@ static void drawfloor(void)
|
||||
gridlines= vd->gridlines/2;
|
||||
grid= gridlines*vd->grid;
|
||||
|
||||
cpack(0x484848);
|
||||
cpack(0x606060);
|
||||
|
||||
for(a= -gridlines;a<=gridlines;a++) {
|
||||
|
||||
@ -505,7 +505,7 @@ static void drawfloor(void)
|
||||
else cpack(0x402000);
|
||||
}
|
||||
else if(a==1) {
|
||||
cpack(0x484848);
|
||||
cpack(0x606060);
|
||||
}
|
||||
|
||||
|
||||
@ -518,7 +518,7 @@ static void drawfloor(void)
|
||||
glEnd();
|
||||
}
|
||||
|
||||
cpack(0x484848);
|
||||
cpack(0x606060);
|
||||
|
||||
for(a= -gridlines;a<=gridlines;a++) {
|
||||
if(a==0) {
|
||||
@ -526,7 +526,7 @@ static void drawfloor(void)
|
||||
else cpack(0);
|
||||
}
|
||||
else if(a==1) {
|
||||
cpack(0x484848);
|
||||
cpack(0x606060);
|
||||
}
|
||||
|
||||
glBegin(GL_LINE_STRIP);
|
||||
@ -828,7 +828,7 @@ void drawview3dspace(ScrArea *sa, void *spacedata)
|
||||
glClearColor(0.0, 0.0, 0.0, 0.0);
|
||||
}
|
||||
else {
|
||||
glClearColor(0.45, 0.45, 0.45, 0.0);
|
||||
glClearColor(0.55, 0.55, 0.55, 0.0);
|
||||
}
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user