Clear up a few issues revealed upon forced full recompile. (VS is dumb sometimes)

This commit is contained in:
Shyotl
2012-12-22 23:44:43 -06:00
parent 295fcb53b0
commit cdaa4b4e99
4 changed files with 7 additions and 3 deletions

View File

@@ -54,6 +54,7 @@
#include "llviewerregion.h"
#include "lluictrlfactory.h"
#include "llviewerwindow.h"
#include "llinventoryicon.h"
#include "hippogridmanager.h"

View File

@@ -48,6 +48,7 @@
#include "llinventorydefines.h"
#include "llinventoryfilter.h"
#include "llinventoryfunctions.h"
#include "llinventoryicon.h"
#include "llpreviewanim.h"
#include "llpreviewgesture.h"
#include "llpreviewnotecard.h"

View File

@@ -205,15 +205,15 @@ BOOL LLVisualParamHint::render()
const std::string& cam_target_mesh_name = mVisualParam->getCameraTargetName();
if( !cam_target_mesh_name.empty() )
{
cam_target_joint = (LLViewerJointMesh*)gAgentAvatarp->getJoint( cam_target_mesh_name );
cam_target_joint = dynamic_cast<LLViewerJointMesh*>(gAgentAvatarp->getJoint( cam_target_mesh_name ));
}
if( !cam_target_joint )
{
cam_target_joint = (LLViewerJointMesh*)gMorphView->getCameraTargetJoint();
cam_target_joint = dynamic_cast<LLViewerJointMesh*>(gMorphView->getCameraTargetJoint());
}
if( !cam_target_joint )
{
cam_target_joint = (LLViewerJointMesh*)gAgentAvatarp->getJoint("mHead");
cam_target_joint = dynamic_cast<LLViewerJointMesh*>(gAgentAvatarp->getJoint("mHead"));
}
LLQuaternion avatar_rotation;

View File

@@ -16,6 +16,7 @@ include(LLImage)
include(LLCharacter)
include(LLInventory)
include(LLPrimitive)
include(LLAppearance)
include_directories(
${CMAKE_SOURCE_DIR}/newview
@@ -32,6 +33,7 @@ include_directories(
${LLCHARACTER_INCLUDE_DIRS}
${LLINVENTORY_INCLUDE_DIRS}
${LLPRIMITIVE_INCLUDE_DIRS}
${LLAPPEARANCE_INCLUDE_DIRS}
)
set(statemachine_SOURCE_FILES