diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-04 15:11:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-04 15:14:14 +0300 |
commit | 736a84ec66286ddedee55baf3225009d824307d5 (patch) | |
tree | 805dbbf5c63bacd1e90ab6a55dd977da979b842a /source/blender/makesdna/DNA_ID.h | |
parent | acb5bbf9b23ebaa3f7617098d70692b985e303fb (diff) |
Cleanup: Use proper type for original ID pointer
Helps debugging, no need to cast in a debugger.
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 6853f5048f1..05e39c6636a 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -229,7 +229,7 @@ typedef struct ID { /* Only set for datablocks which are coming from copy-on-write, points to * the original version of it. */ - void *orig_id; + struct ID *orig_id; void *py_instance; } ID; |