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
path: root/source
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2010-12-28 14:50:10 +0300
committerJoshua Leung <aligorith@gmail.com>2010-12-28 14:50:10 +0300
commit7484d5b7433a3bfdf37ef5cd667f6ec23cc589df (patch)
tree3efdfdb554419385b6ab52c36103d60123937398 /source
parentd0074169fb7696b53030037a1a48ae3608346306 (diff)
- Typo fixes
- Visual Location Keying Set was still using the old-style flag defines
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_animation.c4
-rw-r--r--source/blender/makesrna/intern/rna_scene.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_animation.c b/source/blender/makesrna/intern/rna_animation.c
index fbc4593437b..b3af8e6b57d 100644
--- a/source/blender/makesrna/intern/rna_animation.c
+++ b/source/blender/makesrna/intern/rna_animation.c
@@ -161,7 +161,7 @@ static StructRNA *rna_KeyingSetInfo_register(bContext *C, ReportList *reports, v
{
KeyingSetInfo dummyksi = {0};
KeyingSetInfo *ksi;
- PointerRNA dummyptr;
+ PointerRNA dummyptr = {0};
int have_function[3];
/* setup dummy type info to store static properties in */
@@ -198,7 +198,7 @@ static StructRNA *rna_KeyingSetInfo_register(bContext *C, ReportList *reports, v
ksi->poll= (have_function[0])? RKS_POLL_rna_internal: NULL;
ksi->iter= (have_function[1])? RKS_ITER_rna_internal: NULL;
ksi->generate= (have_function[2])? RKS_GEN_rna_internal: NULL;
-
+
/* add and register with other info as needed */
ANIM_keyingset_info_register(ksi);
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 777ca24e66b..4470c49b50f 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -419,7 +419,7 @@ static int rna_Scene_active_keying_set_index_get(PointerRNA *ptr)
}
/* get KeyingSet index stuff for list of Keying Sets editing UI
- * - value+1 since 0 is reserved for 'none'=
+ * - value+1 since 0 is reserved for 'none'
*/
static void rna_Scene_active_keying_set_index_set(PointerRNA *ptr, int value)
{