Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/Expressions/intern/IntValue.cpp')
-rw-r--r--source/gameengine/Expressions/intern/IntValue.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/gameengine/Expressions/intern/IntValue.cpp b/source/gameengine/Expressions/intern/IntValue.cpp
index 7b2e841f13f..3315b3a3e3c 100644
--- a/source/gameengine/Expressions/intern/IntValue.cpp
+++ b/source/gameengine/Expressions/intern/IntValue.cpp
@@ -34,7 +34,7 @@ pre: false
effect: constructs a new CIntValue
*/
{
-
+
#ifdef DEBUG_
m_textval = "Int illegal constructor";
#endif
@@ -59,13 +59,13 @@ CIntValue::CIntValue(cInt innie,const char *name,AllocationTYPE alloctype)
{
m_int = innie;
SetName(name);
-
+
if (alloctype==CValue::STACKVALUE)
{
CValue::DisableRefCount();
}
m_pstrRep=NULL;
-
+
}
@@ -118,7 +118,7 @@ object and val
CValue* CIntValue::CalcFinal(VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val)
{
CValue *ret;
-
+
switch (dtype) {
case VALUE_EMPTY_TYPE:
case VALUE_INT_TYPE:
@@ -312,7 +312,7 @@ const STR_String & CIntValue::GetText()
if (!m_pstrRep)
m_pstrRep=new STR_String();
m_pstrRep->Format("%lld",m_int);
-
+
return *m_pstrRep;
}
@@ -323,15 +323,15 @@ CValue* CIntValue::GetReplica()
CIntValue* replica = new CIntValue(*this);
replica->ProcessReplica();
replica->m_pstrRep = NULL;
-
+
return replica;
}
void CIntValue::SetValue(CValue* newval)
-{
- m_int = (cInt)newval->GetNumber();
+{
+ m_int = (cInt)newval->GetNumber();
SetModified(true);
}