Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-04-08 17:23:58 +0300
committerAntonioya <blendergit@gmail.com>2019-04-08 17:24:30 +0300
commit1f1eedf8ad90da3c2ca9eb1d4554a895cbcaf506 (patch)
treeb93aa6831a10d67112bffa5db2d6ccb7f6e5de60 /source/blender/makesdna/DNA_object_types.h
parentd6f02cd1d75a9f7bb4fd9a5bf945779324c86896 (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/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 9f2118d9cc0..c8684f42963 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -202,7 +202,7 @@ typedef struct Object {
void *data;
/** Grease Pencil data. */
- struct bGPdata *gpd;
+ struct bGPdata *gpd DNA_DEPRECATED; // XXX deprecated... replaced by gpencil object, keep for readfile
/** Settings for visualization of object-transform animation. */
bAnimVizSettings avs;