diff options
-rw-r--r-- | source/blender/blenkernel/intern/constraint.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 6 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_animation_api.c | 2 |
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 */ |