Commit: cb90f6f2430eccd22fbde9dbe5c2c1df2d62d548
Author: Joshua Leung
Date:   Wed Dec 17 16:26:12 2014 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rBcb90f6f2430eccd22fbde9dbe5c2c1df2d62d548

Silence compiler warnings

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

M       source/blender/depsgraph/intern/depsgraph_build_relations.cpp

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

diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp 
b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
index c098497..fd45555 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
@@ -863,7 +863,9 @@ void DepsgraphRelationBuilder::build_ik_pose(Object *ob,
                parchan = pchan->parent;
        
        /* Walk to the chain's root */
-       size_t segcount = 0;
+       //size_t segcount = 0;
+       int segcount = 0;
+       
        while (parchan) {
                /* Make IK-solver dependent on this bone's result,
                 * since it can only run after the standard results 
@@ -928,7 +930,9 @@ void DepsgraphRelationBuilder::build_splineik_pose(Object 
*ob,
        root_map_add_bone(pchan->name, rootchan->name, root_map);
 
        /* Walk to the chain's root */
-       size_t segcount = 0;
+       //size_t segcount = 0;
+       int segcount = 0;
+       
        for (bPoseChannel *parchan = pchan->parent; parchan; parchan = 
parchan->parent) {
                /* Make Spline IK solver dependent on this bone's result,
                 * since it can only run after the standard results

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to