diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-09-25 18:02:46 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-09-25 18:02:46 +0300 |
commit | ae69986b70611f358491759f39fd91efd015dab9 (patch) | |
tree | 43c6dd858dc50a0c673e76993cc5447640263a72 /source/blender/editors/space_view3d/CMakeLists.txt | |
parent | 335ee5ce5aee3a92415d1608cc66acf3da995598 (diff) |
Viewport smoke: fix a couple of issues in the new display settings.
- WITH_SMOKE macro was not defined so some code was not compiled, though
it was still accessible from the UI
- some UI elements were disappearing due to bad indentation, also rework
the UI code to not hide but rather disable/grey out button in the UI
- Display thickness was not used due to bad manual merge of the code
from the patch.
Diffstat (limited to 'source/blender/editors/space_view3d/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/space_view3d/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/CMakeLists.txt b/source/blender/editors/space_view3d/CMakeLists.txt index 059b384a9e2..a5c60248bf1 100644 --- a/source/blender/editors/space_view3d/CMakeLists.txt +++ b/source/blender/editors/space_view3d/CMakeLists.txt @@ -90,6 +90,10 @@ if(WITH_FREESTYLE) add_definitions(-DWITH_FREESTYLE) endif() +if(WITH_MOD_SMOKE) + add_definitions(-DWITH_SMOKE) +endif() + if(WITH_LEGACY_DEPSGRAPH) add_definitions(-DWITH_LEGACY_DEPSGRAPH) endif() |