diff options
Diffstat (limited to 'source/gameengine/Expressions/VectorValue.cpp')
-rw-r--r-- | source/gameengine/Expressions/VectorValue.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/gameengine/Expressions/VectorValue.cpp b/source/gameengine/Expressions/VectorValue.cpp index 96cc5b48338..07a2743b19f 100644 --- a/source/gameengine/Expressions/VectorValue.cpp +++ b/source/gameengine/Expressions/VectorValue.cpp @@ -47,7 +47,8 @@ CVectorValue::CVectorValue(float x,float y,float z, AllocationTYPE alloctype) m_vec[KX_Z] = m_transformedvec[KX_Z] = z; } -CVectorValue::CVectorValue(double vec[],const char *name,AllocationTYPE alloctype) { +CVectorValue::CVectorValue(double vec[],const char *name,AllocationTYPE alloctype) +{ SetCustomFlag1(false);//FancyOutput=false; @@ -64,7 +65,8 @@ CVectorValue::CVectorValue(double vec[],const char *name,AllocationTYPE alloctyp SetName(name); } -CVectorValue::CVectorValue(double vec[],AllocationTYPE alloctype) { +CVectorValue::CVectorValue(double vec[],AllocationTYPE alloctype) +{ SetCustomFlag1(false);//FancyOutput=false; @@ -201,7 +203,8 @@ const STR_String & CVectorValue::GetText() return gstrVectorStr; } -CValue* CVectorValue::GetReplica() { +CValue* CVectorValue::GetReplica() +{ CVectorValue* replica = new CVectorValue(*this); replica->ProcessReplica(); return replica; |