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:
authorCampbell Barton <ideasman42@gmail.com>2018-06-17 18:01:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-17 18:03:10 +0300
commit4be752a93cf37700668c604296f37ea08248f13b (patch)
tree0f838c87eaa6bf289b76f232e6b1571a28a55cba /source/gameengine/Expressions/intern/FloatValue.cpp
parent5513da65b24a3ce77b1709acea841475115f3a7a (diff)
Cleanup: trailing space in source/gameengine/
Diffstat (limited to 'source/gameengine/Expressions/intern/FloatValue.cpp')
-rw-r--r--source/gameengine/Expressions/intern/FloatValue.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/gameengine/Expressions/intern/FloatValue.cpp b/source/gameengine/Expressions/intern/FloatValue.cpp
index 0f86a429d81..814d3d3b908 100644
--- a/source/gameengine/Expressions/intern/FloatValue.cpp
+++ b/source/gameengine/Expressions/intern/FloatValue.cpp
@@ -55,7 +55,7 @@ pre:
effect: constructs a new CFloatValue containing value fl
*/
{
-
+
m_float = fl;
SetName(name);
if (alloctype==CValue::STACKVALUE)
@@ -119,7 +119,7 @@ ret: a new object containing the result of applying operator op to val and
*/
{
CValue *ret;
-
+
switch (dtype) {
case VALUE_INT_TYPE:
{
@@ -293,8 +293,8 @@ int CFloatValue::GetValueType()
void CFloatValue::SetValue(CValue* newval)
-{
- m_float = (float)newval->GetNumber();
+{
+ m_float = (float)newval->GetNumber();
SetModified(true);
}
@@ -312,7 +312,7 @@ const STR_String & CFloatValue::GetText()
CValue* CFloatValue::GetReplica()
-{
+{
CFloatValue* replica = new CFloatValue(*this);
replica->m_pstrRep = NULL; /* should be in CFloatValue::ProcessReplica() but its not defined, no matter */
replica->ProcessReplica();