rename BLI_getQuotedStr --> BLI_str_quoted_substrN to make it more clear its doing an allocation.
This commit is contained in:
@@ -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?
|
||||
|
Reference in New Issue
Block a user