Page MenuHome
Paste P1868

(An Untitled Masterwork)
ActivePublic

Authored by Jacques Lucke (JacquesLucke) on Jan 6 2021, 1:06 PM.
diff --git a/source/blender/blenkernel/intern/subdiv_ccg.c b/source/blender/blenkernel/intern/subdiv_ccg.c
index 22649a2af07..8fb368afe17 100644
--- a/source/blender/blenkernel/intern/subdiv_ccg.c
+++ b/source/blender/blenkernel/intern/subdiv_ccg.c
@@ -623,6 +623,7 @@ Mesh *BKE_subdiv_to_ccg_mesh(Subdiv *subdiv,
void BKE_subdiv_ccg_destroy(SubdivCCG *subdiv_ccg)
{
+ printf("%p\n", subdiv_ccg);
const int num_grids = subdiv_ccg->num_grids;
MEM_SAFE_FREE(subdiv_ccg->grids);
MEM_SAFE_FREE(subdiv_ccg->grids_storage);
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 60cedfe3c8a..90255732c0a 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -248,6 +248,7 @@ typedef struct ID {
void *next, *prev;
struct ID *newid;
struct Library *lib;
+ char some_data[8];
/** MAX_ID_NAME. */
char name[66];
/**
@@ -292,6 +293,7 @@ typedef struct ID {
struct ID *orig_id;
void *py_instance;
+ char other_data[8];
} ID;
/**