[Bf-blender-cvs] [8bd18c4] alembic_basic_io: Quiet Warning.

Kévin Dietrich noreply at git.blender.org
Thu Jun 23 21:18:23 CEST 2016


Commit: 8bd18c442296c336ce3261f16afa70480fee5156
Author: Kévin Dietrich
Date:   Wed Jun 22 23:58:32 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rB8bd18c442296c336ce3261f16afa70480fee5156

Quiet Warning.

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

M	source/blender/alembic/intern/abc_mesh.cc

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

diff --git a/source/blender/alembic/intern/abc_mesh.cc b/source/blender/alembic/intern/abc_mesh.cc
index 1201493..8dbc241 100644
--- a/source/blender/alembic/intern/abc_mesh.cc
+++ b/source/blender/alembic/intern/abc_mesh.cc
@@ -143,7 +143,7 @@ static void get_topology(DerivedMesh *dm,
 	}
 }
 
-void get_material_indices(DerivedMesh *dm, std::vector<int32_t> &indices)
+static void get_material_indices(DerivedMesh *dm, std::vector<int32_t> &indices)
 {
 	indices.clear();
 	indices.reserve(dm->getNumTessFaces(dm));
@@ -156,10 +156,10 @@ void get_material_indices(DerivedMesh *dm, std::vector<int32_t> &indices)
 	}
 }
 
-void get_creases(DerivedMesh *dm,
-                 std::vector<int32_t> &indices,
-                 std::vector<int32_t> &lengths,
-                 std::vector<float> &sharpnesses)
+static void get_creases(DerivedMesh *dm,
+                        std::vector<int32_t> &indices,
+                        std::vector<int32_t> &lengths,
+                        std::vector<float> &sharpnesses)
 {
 	const float factor = 1.0f / 255.0f;




More information about the Bf-blender-cvs mailing list