diff options
author | Ton Roosendaal <ton@blender.org> | 2006-01-28 23:17:48 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-01-28 23:17:48 +0300 |
commit | 240e25ab652492ad8e0a713b3907aa490b1a70b3 (patch) | |
tree | 583502a6fb9983056e0b213605cecc202dfee7e7 /source/blender/blenkernel/intern | |
parent | 2fbef6f9c9224450f4de567466c5b573dc1ec062 (diff) |
Cleanup of blender/ module; Makefiles now compile this warning free.
Mostly was unused variables, unused functions, missing prototypes and
missing include files.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/CCGSubSurf.c | 3 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/CCGSubSurf.c b/source/blender/blenkernel/intern/CCGSubSurf.c index 5bbd397e9c4..bd585d36a68 100644 --- a/source/blender/blenkernel/intern/CCGSubSurf.c +++ b/source/blender/blenkernel/intern/CCGSubSurf.c @@ -456,11 +456,12 @@ static void *_edge_getCo(CCGEdge *e, int lvl, int x, int dataSize) { int levelBase = lvl + (1<<lvl) - 1; return &EDGE_getLevelData(e)[dataSize*(levelBase + x)]; } +#if 0 static float *_edge_getNo(CCGEdge *e, int lvl, int x, int dataSize, int normalDataOffset) { int levelBase = lvl + (1<<lvl) - 1; return (float*) &EDGE_getLevelData(e)[dataSize*(levelBase + x) + normalDataOffset]; } - +#endif static void *_edge_getCoVert(CCGEdge *e, CCGVert *v, int lvl, int x, int dataSize) { int levelBase = lvl + (1<<lvl) - 1; if (v==e->v0) { diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index 0b52c92f50e..073cea53d32 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -106,6 +106,8 @@ #include "BKE_screen.h" #include "BKE_softbody.h" +#include "LBM_fluidsim.h" + #include "BPY_extern.h" /* Local function protos */ |