Compile fixes (for GCC 4.8)

This commit is contained in:
Lirusaito
2013-05-08 00:55:50 -04:00
parent f48eca366a
commit c13ed02ec8
2 changed files with 4 additions and 4 deletions

View File

@@ -491,7 +491,7 @@ void LLPanelFace::sendTextureInfo()
return (object->mDrawable) ? object->mDrawable->getFace(te): NULL;
}
} get_last_face_func;
LLFace* last_face;
LLFace* last_face(NULL);
LLSelectMgr::getInstance()->getSelection()->getSelectedTEValue(&get_last_face_func, last_face);
LLPanelFaceSetAlignedTEFunctor setfunc(this, last_face);
@@ -654,7 +654,7 @@ void LLPanelFace::getState()
return (object->mDrawable) ? object->mDrawable->getFace(te): NULL;
}
} get_te_face_func;
LLFace* last_face;
LLFace* last_face(NULL);
LLSelectMgr::getInstance()->getSelection()->getSelectedTEValue(&get_te_face_func, last_face);
LLPanelFaceGetIsAlignedTEFunctor get_is_aligend_func(last_face);
// this will determine if the texture param controls are tentative: