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/blender/io')
-rw-r--r--source/blender/io/collada/BCAnimationSampler.cpp2
-rw-r--r--source/blender/io/collada/collada_utils.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/io/collada/BCAnimationSampler.cpp b/source/blender/io/collada/BCAnimationSampler.cpp
index f44e3e8385d..6f363aa76c2 100644
--- a/source/blender/io/collada/BCAnimationSampler.cpp
+++ b/source/blender/io/collada/BCAnimationSampler.cpp
@@ -558,7 +558,7 @@ const bool BCSampleFrame::has_sample_for(Object *ob) const
const bool BCSampleFrame::has_sample_for(Object *ob, Bone *bone) const
{
const BCMatrix *bc_bone = get_sample_matrix(ob, bone);
- return (bc_bone);
+ return bc_bone;
}
/* ==================================================================== */
diff --git a/source/blender/io/collada/collada_utils.h b/source/blender/io/collada/collada_utils.h
index 657a82f70d2..38050556b47 100644
--- a/source/blender/io/collada/collada_utils.h
+++ b/source/blender/io/collada/collada_utils.h
@@ -154,7 +154,7 @@ inline std::string bc_string_after(const std::string &s, const std::string probe
if (i != std::string::npos) {
return (s.substr(i + probe.length(), s.length() - i));
}
- return (s);
+ return s;
}
inline std::string bc_string_before(const std::string &s, const std::string probe)
@@ -163,7 +163,7 @@ inline std::string bc_string_before(const std::string &s, const std::string prob
if (i != std::string::npos) {
return s.substr(0, i);
}
- return (s);
+ return s;
}
inline bool bc_startswith(std::string const &value, std::string const &starting)