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:
authorSybren A. Stüvel <sybren@blender.org>2020-09-04 13:04:47 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-09-04 13:04:47 +0300
commit8057ab10db5945db18ccb45265b91ce120ae0be5 (patch)
tree974381c1d2264099848b2c1c5ed8a469a980a32e /source/blender/io/collada/AnimationImporter.cpp
parent371ddda4d0b3c2ef0c40f604715db801dc33b669 (diff)
Cleanup: Clang-Tidy readability-const-return-type fixes
No functional changes.
Diffstat (limited to 'source/blender/io/collada/AnimationImporter.cpp')
-rw-r--r--source/blender/io/collada/AnimationImporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/collada/AnimationImporter.cpp b/source/blender/io/collada/AnimationImporter.cpp
index 1dada68293e..08d9386cb42 100644
--- a/source/blender/io/collada/AnimationImporter.cpp
+++ b/source/blender/io/collada/AnimationImporter.cpp
@@ -977,7 +977,7 @@ void AnimationImporter::apply_matrix_curves(Object *ob,
* If both values are specified, then the aspect ration is simply xfov/yfov
* and if aspect ratio is defined, then .. well then its that one.
*/
-static const double get_aspect_ratio(const COLLADAFW::Camera *camera)
+static double get_aspect_ratio(const COLLADAFW::Camera *camera)
{
double aspect = camera->getAspectRatio().getValue();