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:
authorJacques Lucke <jacques@blender.org>2020-09-23 12:39:08 +0300
committerJacques Lucke <jacques@blender.org>2020-09-23 12:39:31 +0300
commit9ad80d9896ed2524c18a4c384cbb3fafbc601826 (patch)
tree49331f04b565f245a0ba5aee51c359a0c82c8e21 /source/blender/blenkernel/intern/pointcache.c
parente5c0d4613a8943c712b57fb336997ecd78e6508e (diff)
Cleanup: remove last uses of WITH_SMOKE
Diffstat (limited to 'source/blender/blenkernel/intern/pointcache.c')
-rw-r--r--source/blender/blenkernel/intern/pointcache.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c
index 31f5edf3d27..02b3d60afa5 100644
--- a/source/blender/blenkernel/intern/pointcache.c
+++ b/source/blender/blenkernel/intern/pointcache.c
@@ -73,11 +73,6 @@
# include "RBI_api.h"
#endif
-/* both in intern */
-#ifdef WITH_SMOKE
-# include "smoke_API.h"
-#endif
-
#ifdef WITH_OPENVDB
# include "openvdb_capi.h"
#endif
@@ -657,23 +652,6 @@ static void ptcache_cloth_error(void *cloth_v, const char *message)
BKE_modifier_set_error(&clmd->modifier, "%s", message);
}
-#ifdef WITH_SMOKE
-/* Smoke functions */
-static int ptcache_smoke_totpoint(void *smoke_v, int UNUSED(cfra))
-{
- FluidModifierData *fmd = (FluidModifierData *)smoke_v;
- FluidDomainSettings *fds = fmd->domain;
-
- if (fds->fluid) {
- return fds->base_res[0] * fds->base_res[1] * fds->base_res[2];
- }
- else {
- return 0;
- }
-}
-
-#endif
-
static int ptcache_dynamicpaint_totpoint(void *sd, int UNUSED(cfra))
{
DynamicPaintSurface *surface = (DynamicPaintSurface *)sd;