[Bf-blender-cvs] [f6eb92f2954] collada: cleanup: Collada remove unused function

Gaia Clary noreply at git.blender.org
Wed Mar 28 21:30:22 CEST 2018


Commit: f6eb92f2954242c79518a58a715c9a27123e606d
Author: Gaia Clary
Date:   Sun Mar 4 18:01:29 2018 +0100
Branches: collada
https://developer.blender.org/rBf6eb92f2954242c79518a58a715c9a27123e606d

cleanup: Collada remove unused function

This was a function introduced earlier,
but it is no longer needed.

===================================================================

M	source/blender/collada/collada_utils.cpp
M	source/blender/collada/collada_utils.h

===================================================================

diff --git a/source/blender/collada/collada_utils.cpp b/source/blender/collada/collada_utils.cpp
index c60ffc46585..b043a359db9 100644
--- a/source/blender/collada/collada_utils.cpp
+++ b/source/blender/collada/collada_utils.cpp
@@ -953,13 +953,6 @@ void bc_copy_m4d_v44(double (&r)[4][4], std::vector<std::vector<double>> &a)
 	}
 }
 
-void bc_append_darray_m4d(std::vector<double> &r, double a[4][4])
-{
-	for (int i = 0; i < 4; i++)
-		for (int j = 0; j < 4; j++)
-			r.push_back(a[i][j]);
-}
-
 /*
 * Returns name of Active UV Layer or empty String if no active UV Layer defined.
 * Assuming the Object is of type MESH
diff --git a/source/blender/collada/collada_utils.h b/source/blender/collada/collada_utils.h
index f877c648a30..4eca0d1670c 100644
--- a/source/blender/collada/collada_utils.h
+++ b/source/blender/collada/collada_utils.h
@@ -159,7 +159,6 @@ void bc_copy_farray_m4(float *r, float a[4][4]);
 void bc_copy_darray_m4d(double *r, double a[4][4]);
 void bc_copy_m4d_v44(double(&r)[4][4], std::vector<std::vector<double>> &a);
 void bc_copy_v44_m4d(std::vector<std::vector<double>> &a, double(&r)[4][4]);
-void bc_append_darray_m4d(std::vector<double> &r, double a[4][4]);
 
 extern void bc_sanitize_mat(float mat[4][4], int precision);
 extern void bc_sanitize_mat(double mat[4][4], int precision);



More information about the Bf-blender-cvs mailing list