Skip to content
Snippets Groups Projects
Commit ee86a65f authored by Tofu Linden's avatar Tofu Linden
Browse files

CID-372

Checker: UNINIT_CTOR
Function: LLViewerJoint::LLViewerJoint(const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, LLJoint *)
File: /indra/newview/llviewerjoint.cpp

CID-377

Checker: UNINIT_CTOR
Function: LLOfferInfo::LLOfferInfo()
File: /indra/newview/llviewermessage.h
parent a9d86c81
No related branches found
No related tags found
No related merge requests found
...@@ -59,14 +59,9 @@ BOOL LLViewerJoint::sDisableLOD = FALSE; ...@@ -59,14 +59,9 @@ BOOL LLViewerJoint::sDisableLOD = FALSE;
// Class Constructor // Class Constructor
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
LLViewerJoint::LLViewerJoint() LLViewerJoint::LLViewerJoint()
: LLJoint()
{ {
mUpdateXform = TRUE; init();
mValid = FALSE;
mComponents = SC_JOINT | SC_BONE | SC_AXES;
mMinPixelArea = DEFAULT_LOD;
mPickName = PN_DEFAULT;
mVisible = TRUE;
mMeshID = 0;
} }
...@@ -74,13 +69,21 @@ LLViewerJoint::LLViewerJoint() ...@@ -74,13 +69,21 @@ LLViewerJoint::LLViewerJoint()
// LLViewerJoint() // LLViewerJoint()
// Class Constructor // Class Constructor
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
LLViewerJoint::LLViewerJoint(const std::string &name, LLJoint *parent) : LLViewerJoint::LLViewerJoint(const std::string &name, LLJoint *parent)
LLJoint(name, parent) : LLJoint(name, parent)
{
init();
}
LLViewerJoint::init()
{ {
mValid = FALSE; mValid = FALSE;
mComponents = SC_JOINT | SC_BONE | SC_AXES; mComponents = SC_JOINT | SC_BONE | SC_AXES;
mMinPixelArea = DEFAULT_LOD; mMinPixelArea = DEFAULT_LOD;
mPickName = PN_DEFAULT; mPickName = PN_DEFAULT;
mVisible = TRUE;
mMeshID = 0;
} }
......
...@@ -205,7 +205,9 @@ void open_inventory_offer(const std::vector<LLUUID>& items, const std::string& f ...@@ -205,7 +205,9 @@ void open_inventory_offer(const std::vector<LLUUID>& items, const std::string& f
struct LLOfferInfo struct LLOfferInfo
{ {
LLOfferInfo() {}; LLOfferInfo()
: mFromGroup(FALSE), mFromObject(FALSE),
mIM(IM_NOTHING_SPECIAL), mType(LLAssetType::AT_NONE) {};
LLOfferInfo(const LLSD& sd); LLOfferInfo(const LLSD& sd);
void forceResponse(InventoryOfferResponse response); void forceResponse(InventoryOfferResponse response);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment