[Bf-blender-cvs] [969153ea4c1] collada: Refactor Collada: Removed unused parameter from method
Gaia Clary
noreply at git.blender.org
Thu Apr 19 18:56:28 CEST 2018
Commit: 969153ea4c1f59a8ab58b063d68c8cb8483a84e4
Author: Gaia Clary
Date: Thu Apr 19 18:33:47 2018 +0200
Branches: collada
https://developer.blender.org/rB969153ea4c1f59a8ab58b063d68c8cb8483a84e4
Refactor Collada: Removed unused parameter from method
BCAnimationCurve::add_value(const float val, const int frame_index)
===================================================================
M source/blender/collada/BCAnimationCurve.cpp
M source/blender/collada/BCAnimationCurve.h
===================================================================
diff --git a/source/blender/collada/BCAnimationCurve.cpp b/source/blender/collada/BCAnimationCurve.cpp
index 686ba0b5469..6bf4b864ede 100644
--- a/source/blender/collada/BCAnimationCurve.cpp
+++ b/source/blender/collada/BCAnimationCurve.cpp
@@ -397,7 +397,7 @@ void BCAnimationCurve::adjust_range(const int frame_index)
}
}
-void BCAnimationCurve::add_value(const float val, const int frame_index, bool modify_curve)
+void BCAnimationCurve::add_value(const float val, const int frame_index)
{
FCurve *fcu = get_edit_fcurve();
if (fcu) {
@@ -514,7 +514,7 @@ bool BCAnimationCurve::add_value_from_rna(const int frame_index)
return false;
}
- add_value(value, frame_index, /*modify_curve=*/ false);
+ add_value(value, frame_index);
return true;
}
diff --git a/source/blender/collada/BCAnimationCurve.h b/source/blender/collada/BCAnimationCurve.h
index 8041f433c9c..5dc044abbdf 100644
--- a/source/blender/collada/BCAnimationCurve.h
+++ b/source/blender/collada/BCAnimationCurve.h
@@ -145,7 +145,7 @@ public:
FCurve *get_edit_fcurve();
bool add_value_from_rna(const int frame);
bool add_value_from_matrix(const BCSample &sample, const int frame);
- void add_value(const float val, const int frame, bool modify_curve=false);
+ void add_value(const float val, const int frame);
void clean_handles();
/* experimental stuff */
More information about the Bf-blender-cvs
mailing list