Merge branch 'future' of https://github.com/Shyotl/SingularityViewer into renderer32
This commit is contained in:
@@ -4078,14 +4078,14 @@ void LLAgent::renderAutoPilotTarget()
|
||||
F32 height_meters;
|
||||
LLVector3d target_global;
|
||||
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
gGL.matrixMode(LLRender::MM_MODELVIEW);
|
||||
gGL.pushMatrix();
|
||||
|
||||
// not textured
|
||||
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
|
||||
|
||||
// lovely green
|
||||
glColor4f(0.f, 1.f, 1.f, 1.f);
|
||||
gGL.diffuseColor4f(0.f, 1.f, 1.f, 1.f);
|
||||
|
||||
target_global = mAutoPilotTargetGlobal;
|
||||
|
||||
@@ -4093,7 +4093,7 @@ void LLAgent::renderAutoPilotTarget()
|
||||
|
||||
height_meters = 1.f;
|
||||
|
||||
glScalef(height_meters, height_meters, height_meters);
|
||||
gGL.scalef(height_meters, height_meters, height_meters);
|
||||
|
||||
gSphere.render(1500.f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user