diff options
-rw-r--r-- | source/blender/editors/space_outliner/outliner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner.c b/source/blender/editors/space_outliner/outliner.c index e91d478d327..3e2d5edd4ed 100644 --- a/source/blender/editors/space_outliner/outliner.c +++ b/source/blender/editors/space_outliner/outliner.c @@ -3191,7 +3191,7 @@ static void ks_editop_add_cb(SpaceOops *soops, KeyingSet *ks, TreeElement *te, T /* just 'append' property to path * - to prevent memory leaks, we must write to newpath not path, then free old path + swap them */ - // TODO: how to do this? + // TODO: how to do this? we must use 'string' identifiers for collections so that these don't break if data is added/removed //newpath= RNA_path_append(path, NULL, prop, index, NULL); if (path) MEM_freeN(path); |