rename BLI_getQuotedStr --> BLI_str_quoted_substrN to make it more clear its doing an allocation.

This commit is contained in:
2012-07-09 22:16:50 +00:00
parent 3c0579afc5
commit df107939c9
8 changed files with 16 additions and 14 deletions

View File

@@ -4880,7 +4880,7 @@ void autokeyframe_pose_cb_func(bContext *C, Scene *scene, View3D *v3d, Object *o
for (fcu = act->curves.first; fcu; fcu = fcu->next) {
/* only insert keyframes for this F-Curve if it affects the current bone */
if (strstr(fcu->rna_path, "bones")) {
char *pchanName = BLI_getQuotedStr(fcu->rna_path, "bones[");
char *pchanName = BLI_str_quoted_substrN(fcu->rna_path, "bones[");
/* only if bone name matches too...
* NOTE: this will do constraints too, but those are ok to do here too?