diff options
Diffstat (limited to 'linden/indra/llcharacter/lljoint.h')
-rw-r--r-- | linden/indra/llcharacter/lljoint.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llcharacter/lljoint.h b/linden/indra/llcharacter/lljoint.h index c05412d..6492fe2 100644 --- a/linden/indra/llcharacter/lljoint.h +++ b/linden/indra/llcharacter/lljoint.h | |||
@@ -12,12 +12,12 @@ | |||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | 12 | * ("GPL"), unless you have obtained a separate licensing agreement |
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 13 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
15 | * online at http://secondlife.com/developers/opensource/gplv2 | 15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
16 | * | 16 | * |
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlife.com/developers/opensource/flossexception | 20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
21 | * | 21 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 22 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 23 | * that you have read and understood your obligations described above, |
@@ -115,7 +115,7 @@ public: | |||
115 | void touch(U32 flags = ALL_DIRTY); | 115 | void touch(U32 flags = ALL_DIRTY); |
116 | 116 | ||
117 | // get/set name | 117 | // get/set name |
118 | const std::string &getName() { return mName; } | 118 | const std::string& getName() const { return mName; } |
119 | void setName( const std::string &name ) { mName = name; } | 119 | void setName( const std::string &name ) { mName = name; } |
120 | 120 | ||
121 | // getParent | 121 | // getParent |
@@ -175,7 +175,7 @@ public: | |||
175 | 175 | ||
176 | virtual BOOL isAnimatable() { return TRUE; } | 176 | virtual BOOL isAnimatable() { return TRUE; } |
177 | 177 | ||
178 | S32 getJointNum() { return mJointNum; } | 178 | S32 getJointNum() const { return mJointNum; } |
179 | void setJointNum(S32 joint_num) { mJointNum = joint_num; } | 179 | void setJointNum(S32 joint_num) { mJointNum = joint_num; } |
180 | }; | 180 | }; |
181 | #endif // LL_LLJOINT_H | 181 | #endif // LL_LLJOINT_H |