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:
authorJoshua Leung <aligorith@gmail.com>2010-03-01 12:42:39 +0300
committerJoshua Leung <aligorith@gmail.com>2010-03-01 12:42:39 +0300
commitb55774aebefa3e053986110e3e04a8531c6d7d47 (patch)
tree2f774a8bad1b445d6a28d0b44b7c41e732c6a94c /source/blender
parent81ab852ba9ac379bbed64eddcf7b7ea867455892 (diff)
Missed a spot when renaming the API functions for adding Keying Set paths
Also some indention/whitespace tweaks
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/constraint.c2
-rw-r--r--source/blender/editors/space_view3d/drawobject.c6
-rw-r--r--source/blender/makesrna/intern/rna_animation_api.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c
index 53a07193aa6..91bf4b8d8b2 100644
--- a/source/blender/blenkernel/intern/constraint.c
+++ b/source/blender/blenkernel/intern/constraint.c
@@ -402,7 +402,7 @@ void constraint_mat_convertspace (Object *ob, bPoseChannel *pchan, float mat[][4
/* function that sets the given matrix based on given vertex group in mesh */
static void contarget_get_mesh_mat (Scene *scene, Object *ob, char *substring, float mat[][4])
{
- DerivedMesh *dm;
+ DerivedMesh *dm = NULL;
Mesh *me= ob->data;
EditMesh *em = BKE_mesh_get_editmesh(me);
float vec[3] = {0.0f, 0.0f, 0.0f}, tvec[3];
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index 17ab6a3f965..697fe478602 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -351,7 +351,7 @@ void drawaxes(float size, int flag, char drawtype)
float v2[3]= {0.0, 0.0, 0.0};
glBegin(GL_LINES);
-
+
v1[axis]= size;
v2[axis]= -size;
glVertex3fv(v1);
@@ -417,7 +417,7 @@ void drawaxes(float size, int flag, char drawtype)
int arrow_axis= (axis==0)?1:0;
glBegin(GL_LINES);
-
+
v2[axis]= size;
glVertex3fv(v1);
glVertex3fv(v2);
@@ -430,7 +430,7 @@ void drawaxes(float size, int flag, char drawtype)
v1[arrow_axis]= size*0.125;
glVertex3fv(v1);
glVertex3fv(v2);
-
+
glEnd();
v2[axis]+= size*0.125;
diff --git a/source/blender/makesrna/intern/rna_animation_api.c b/source/blender/makesrna/intern/rna_animation_api.c
index 208e3b9ca4c..b07f147ac96 100644
--- a/source/blender/makesrna/intern/rna_animation_api.c
+++ b/source/blender/makesrna/intern/rna_animation_api.c
@@ -69,7 +69,7 @@ void RNA_api_keyingset(StructRNA *srna)
PropertyRNA *parm;
/* Add Destination */
- func= RNA_def_function(srna, "add_destination", "rna_KeyingSet_add_path");
+ func= RNA_def_function(srna, "add_path", "rna_KeyingSet_add_path");
RNA_def_function_ui_description(func, "Add a new destination for the Keying Set.");
RNA_def_function_flag(func, FUNC_USE_REPORTS);
/* ID-block for target */