Lindie viewer-dev catchup regarding rendering pipeline.
This commit is contained in:
@@ -178,6 +178,7 @@
|
||||
#include "llviewershadermgr.h"
|
||||
#include "llviewerstats.h"
|
||||
#include "llvoavatarself.h"
|
||||
#include "llvopartgroup.h"
|
||||
#include "llvovolume.h"
|
||||
#include "llworld.h"
|
||||
#include "llworldmapview.h"
|
||||
@@ -4824,6 +4825,8 @@ void LLViewerWindow::stopGL(BOOL save_state)
|
||||
LLVOAvatar::destroyGL();
|
||||
stop_glerror();
|
||||
|
||||
LLVOPartGroup::destroyGL();
|
||||
|
||||
LLViewerDynamicTexture::destroyGL();
|
||||
stop_glerror();
|
||||
|
||||
@@ -4876,6 +4879,7 @@ void LLViewerWindow::restoreGL(const std::string& progress_message)
|
||||
gBumpImageList.restoreGL();
|
||||
LLViewerDynamicTexture::restoreGL();
|
||||
LLVOAvatar::restoreGL();
|
||||
LLVOPartGroup::restoreGL();
|
||||
|
||||
gResizeScreenTexture = TRUE;
|
||||
gWindowResized = TRUE;
|
||||
@@ -5515,8 +5519,10 @@ void LLPickInfo::getSurfaceInfo()
|
||||
if (objectp->mDrawable.notNull() && mObjectFace > -1)
|
||||
{
|
||||
LLFace* facep = objectp->mDrawable->getFace(mObjectFace);
|
||||
|
||||
mUVCoords = facep->surfaceToTexture(mSTCoords, mIntersection, mNormal);
|
||||
if (facep)
|
||||
{
|
||||
mUVCoords = facep->surfaceToTexture(mSTCoords, mIntersection, mNormal);
|
||||
}
|
||||
}
|
||||
|
||||
// and XY coords:
|
||||
|
||||
Reference in New Issue
Block a user