diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-04-16 17:10:08 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-04-16 17:10:08 +0400 |
commit | f47ab4f0aedf2445bffab2094986884a418a976f (patch) | |
tree | feb0de1eb8f9d32d3ffebd14f03b0a1a64424fc0 /source/blender/editors/armature/poseobject.c | |
parent | 23af7214d3721862eae9f4601791ee0602740f50 (diff) |
2.5:
* Added extra parameter to generic unique name finding function BLI_uniquename() for specifying the delimeter between non-unique parts of the name and digits.
* Driver target variables now get unique names by default.
Diffstat (limited to 'source/blender/editors/armature/poseobject.c')
-rw-r--r-- | source/blender/editors/armature/poseobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/poseobject.c b/source/blender/editors/armature/poseobject.c index ae82c063435..09edc5549c1 100644 --- a/source/blender/editors/armature/poseobject.c +++ b/source/blender/editors/armature/poseobject.c @@ -970,7 +970,7 @@ void pose_add_posegroup (Scene *scene) grp= MEM_callocN(sizeof(bActionGroup), "PoseGroup"); strcpy(grp->name, "Group"); BLI_addtail(&pose->agroups, grp); - BLI_uniquename(&pose->agroups, grp, "Group", offsetof(bActionGroup, name), 32); + BLI_uniquename(&pose->agroups, grp, "Group", '.', offsetof(bActionGroup, name), 32); pose->active_group= BLI_countlist(&pose->agroups); |