diff options
author | Antonioya <blendergit@gmail.com> | 2019-04-08 17:23:58 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-04-08 17:24:30 +0300 |
commit | 1f1eedf8ad90da3c2ca9eb1d4554a895cbcaf506 (patch) | |
tree | b93aa6831a10d67112bffa5db2d6ccb7f6e5de60 /source/blender/blenkernel | |
parent | d6f02cd1d75a9f7bb4fd9a5bf945779324c86896 (diff) |
GPencil: Mark Object gpd field as Deprecated
This field is only used to read old files, but it's not used anymore, so it's better mark as deprecated to avoid wrong uses.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/library_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library_query.c b/source/blender/blenkernel/intern/library_query.c index 453cbe16de0..cdbbc404538 100644 --- a/source/blender/blenkernel/intern/library_query.c +++ b/source/blender/blenkernel/intern/library_query.c @@ -581,7 +581,7 @@ static void library_foreach_ID_link( } data.cb_flag = data_cb_flag; - CALLBACK_INVOKE(object->gpd, IDWALK_CB_USER); + /* Note that ob->gpd is deprecated, so no need to handle it here. */ CALLBACK_INVOKE(object->instance_collection, IDWALK_CB_USER); if (object->pd) { |