2.5 - Newly created KeyingSets are now automatically named properly.
[blender.git] / source / blender / blenkernel / intern / anim_sys.c
index 204935cc38d3dc007d13a415351d0c6b45609d74..5eaf21335157f4702348de78d16a43e120c1ee56 100644 (file)
@@ -276,7 +276,7 @@ KeyingSet *BKE_keyingset_add (ListBase *list, const char name[], short flag, sho
        if (name)
                BLI_snprintf(ks->name, 64, name);
        else
-               strcpy(ks->name, "Keying Set");
+               strcpy(ks->name, "KeyingSet");
        
        ks->flag= flag;
        ks->keyingflag= keyingflag;
@@ -285,7 +285,7 @@ KeyingSet *BKE_keyingset_add (ListBase *list, const char name[], short flag, sho
        BLI_addtail(list, ks);
        
        /* make sure KeyingSet has a unique name (this helps with identification) */
-       BLI_uniquename(list, ks, "Keying Set", ' ', offsetof(KeyingSet, name), 64);
+       BLI_uniquename(list, ks, "KeyingSet", '.', offsetof(KeyingSet, name), 64);
        
        /* return new KeyingSet for further editing */
        return ks;