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:
-rw-r--r--intern/iksolver/intern/IK_QChain.cpp20
-rw-r--r--intern/iksolver/intern/MT_ExpMap.cpp1
-rw-r--r--source/blender/src/buttons.c2
-rw-r--r--source/blender/src/drawnla.c4
-rw-r--r--source/blender/src/editarmature.c5
-rw-r--r--source/blender/src/editconstraint.c4
-rw-r--r--source/blender/src/editnla.c3
7 files changed, 8 insertions, 31 deletions
diff --git a/intern/iksolver/intern/IK_QChain.cpp b/intern/iksolver/intern/IK_QChain.cpp
index 438729003a9..f39fca16644 100644
--- a/intern/iksolver/intern/IK_QChain.cpp
+++ b/intern/iksolver/intern/IK_QChain.cpp
@@ -149,7 +149,6 @@ ComputeJacobian(
// compute the transposed jacobian first
int n;
- int i = 0;
for (n= 0; n < num_segs; n++) {
#if 0
@@ -259,22 +258,3 @@ MaxExtension(
return output;
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/intern/iksolver/intern/MT_ExpMap.cpp b/intern/iksolver/intern/MT_ExpMap.cpp
index ea005a42096..c5ff0dc5886 100644
--- a/intern/iksolver/intern/MT_ExpMap.cpp
+++ b/intern/iksolver/intern/MT_ExpMap.cpp
@@ -74,7 +74,6 @@ setRotation(
MT_ExpMap::
getRotation(
) const {
- bool rep=0;
MT_Scalar cosp, sinp, theta;
MT_Quaternion q;
diff --git a/source/blender/src/buttons.c b/source/blender/src/buttons.c
index 6aa26548926..d72d3393cc2 100644
--- a/source/blender/src/buttons.c
+++ b/source/blender/src/buttons.c
@@ -6497,7 +6497,6 @@ static void activate_constraint_ipo_func (void *arg1v, void *unused)
bConstraint *con = arg1v;
bConstraintChannel *chan;
ListBase *conbase;
- Ipo *ipo = NULL;
get_constraint_client(NULL, NULL, NULL);
@@ -6525,7 +6524,6 @@ static void activate_constraint_ipo_func (void *arg1v, void *unused)
allqueue(REDRAWIPO, 0);
allqueue(REDRAWNLA, 0);
-
}
static void del_constraint_func (void *arg1v, void *arg2v)
diff --git a/source/blender/src/drawnla.c b/source/blender/src/drawnla.c
index d5a729b7378..8bbcd4b8c2d 100644
--- a/source/blender/src/drawnla.c
+++ b/source/blender/src/drawnla.c
@@ -219,7 +219,6 @@ static void draw_nlastrips(SpaceNla *snla)
rcti scr_rct;
gla2DDrawInfo *di;
Base *base;
- int offset = 0;
bConstraintChannel *conchan;
float y;
@@ -520,4 +519,5 @@ int nla_filter (Base* base, int flags)
return 1;
else return 0;
-} \ No newline at end of file
+}
+
diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c
index 31c9c94fa6f..ca76b6607cb 100644
--- a/source/blender/src/editarmature.c
+++ b/source/blender/src/editarmature.c
@@ -2542,7 +2542,7 @@ void auto_align_armature(void)
/* Sets the roll value of selected bones so that their zaxes point upwards */
{
EditBone *ebone;
- float xaxis[3]={1.0, 0.0, 0.0}, yaxis[3], zaxis[3]={0.0, 0.0, 1.0}, ytest[3]={0.0, -1.0, 0.0};
+ float xaxis[3]={1.0, 0.0, 0.0}, yaxis[3], zaxis[3]={0.0, 0.0, 1.0};
float targetmat[4][4], imat[4][4];
float curmat[4][4], diffmat[4][4];
float delta[3];
@@ -2571,4 +2571,5 @@ void auto_align_armature(void)
}
}
-} \ No newline at end of file
+}
+
diff --git a/source/blender/src/editconstraint.c b/source/blender/src/editconstraint.c
index 17d59a18192..1da9069769e 100644
--- a/source/blender/src/editconstraint.c
+++ b/source/blender/src/editconstraint.c
@@ -124,7 +124,6 @@ void unique_constraint_name (bConstraint *con, ListBase *list){
static int is_child_of_ex(Object *owner, const char *ownersubstr, Object *parent, const char *parsubstr)
{
Object *curob;
- int working = 1;
Bone *bone = NULL;
Bone *parbone= NULL;
@@ -750,4 +749,5 @@ bConstraintChannel *add_new_constraint_channel(const char* name)
strcpy(chan->name, name);
return chan;
-} \ No newline at end of file
+}
+
diff --git a/source/blender/src/editnla.c b/source/blender/src/editnla.c
index 54ee4682c0e..1691d279ffd 100644
--- a/source/blender/src/editnla.c
+++ b/source/blender/src/editnla.c
@@ -397,7 +397,6 @@ static void add_nlablock(short mval[2])
Base *base;
bAction *act=NULL;
bActionStrip *strip;
- int foundsel=0;
float ymin, ymax;
float x, y;
rctf rectf;
@@ -1735,4 +1734,4 @@ static void delete_nlachannels(void){
}
}
}
-} \ No newline at end of file
+}