[Bf-blender-cvs] [201b4051ba6] master: Fluid: Fix missing WITH_FLUID in draw code
Sebastián Barschkis
noreply at git.blender.org
Fri Jul 31 15:19:43 CEST 2020
Commit: 201b4051ba6b5eed0500067b27f5fe910fe06909
Author: Sebastián Barschkis
Date: Fri Jul 31 15:19:29 2020 +0200
Branches: master
https://developer.blender.org/rB201b4051ba6b5eed0500067b27f5fe910fe06909
Fluid: Fix missing WITH_FLUID in draw code
The new draw code from 486c7b87fb06 was just missing a WITH_FLUID flag.
===================================================================
M source/blender/draw/CMakeLists.txt
===================================================================
diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt
index 8bd4832e446..f85b03dc517 100644
--- a/source/blender/draw/CMakeLists.txt
+++ b/source/blender/draw/CMakeLists.txt
@@ -404,6 +404,13 @@ data_to_c_simple(engines/overlay/shaders/xray_fade_frag.glsl SRC)
list(APPEND INC
)
+if(WITH_MOD_FLUID)
+ list(APPEND INC
+ ../../../intern/mantaflow/extern
+ )
+ add_definitions(-DWITH_FLUID)
+endif()
+
if(WITH_FREESTYLE)
add_definitions(-DWITH_FREESTYLE)
endif()
More information about the Bf-blender-cvs
mailing list