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>2019-06-04 03:51:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-04 03:52:20 +0300
commitc13e10a7404ddae1d2ab9dc3d421ad18e8cb01ac (patch)
tree8906f96fd20a8fe5bd7b973db13fc5dcd663634a /source/blender/collada/BCAnimationCurve.cpp
parentd62a749fcf4848958d748a4d5ef5c4f1172cd351 (diff)
Cleanup: clang-format, remove tabs
Diffstat (limited to 'source/blender/collada/BCAnimationCurve.cpp')
-rw-r--r--source/blender/collada/BCAnimationCurve.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/collada/BCAnimationCurve.cpp b/source/blender/collada/BCAnimationCurve.cpp
index 2295821aaf8..1ea63508965 100644
--- a/source/blender/collada/BCAnimationCurve.cpp
+++ b/source/blender/collada/BCAnimationCurve.cpp
@@ -174,7 +174,7 @@ const std::string BCAnimationCurve::get_animation_name(Object *ob) const
}
else {
const char *boneName = BLI_str_quoted_substrN(fcurve->rna_path, "pose.bones[");
- name = (boneName) ? id_name(ob)+"_"+std::string(boneName) : "";
+ name = (boneName) ? id_name(ob) + "_" + std::string(boneName) : "";
}
} break;
@@ -338,10 +338,8 @@ const bool BCAnimationCurve::is_transform_curve() const
const bool BCAnimationCurve::is_rotation_curve() const
{
std::string channel_type = this->get_channel_type();
- return (channel_type == "rotation"
- || channel_type == "rotation_euler"
- || channel_type == "rotation_quaternion"
- );
+ return (channel_type == "rotation" || channel_type == "rotation_euler" ||
+ channel_type == "rotation_quaternion");
}
const float BCAnimationCurve::get_value(const float frame)