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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-01-24 14:55:08 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-01-24 14:55:37 +0300
commit769d189ff16b216c6198603fb68ec041d4b7e7da (patch)
tree049ced33dd073288c991f6bab9e87ab6d6d703d8 /source/blender/depsgraph/util
parent610af632a98bfcb0c7e4111052cc581d95d45330 (diff)
Depsgraph: Remove legacy code from new depsgraph
Now we have no remaining WITH_LEGACY_DEPSGRAPH in the code.
Diffstat (limited to 'source/blender/depsgraph/util')
-rw-r--r--source/blender/depsgraph/util/deg_util_foreach.h4
-rw-r--r--source/blender/depsgraph/util/deg_util_function.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/depsgraph/util/deg_util_foreach.h b/source/blender/depsgraph/util/deg_util_foreach.h
index 87d37168d51..531e67968cc 100644
--- a/source/blender/depsgraph/util/deg_util_foreach.h
+++ b/source/blender/depsgraph/util/deg_util_foreach.h
@@ -38,9 +38,7 @@
#else
#pragma message("No available foreach() implementation. Using stub instead, disabling new depsgraph")
-#ifndef WITH_LEGACY_DEPSGRAPH
-# error "Unable to build new depsgraph and legacy one is disabled."
-#endif
+#error "Unable to build new depsgraph and legacy one is disabled."
#define DISABLE_NEW_DEPSGRAPH
diff --git a/source/blender/depsgraph/util/deg_util_function.h b/source/blender/depsgraph/util/deg_util_function.h
index 1e34ae04d9a..13c714bd638 100644
--- a/source/blender/depsgraph/util/deg_util_function.h
+++ b/source/blender/depsgraph/util/deg_util_function.h
@@ -50,9 +50,7 @@ using boost::function;
#pragma message("No available function binding implementation. Using stub instead, disabling new depsgraph")
-#ifndef WITH_LEGACY_DEPSGRAPH
-# error "Unable to build new depsgraph and legacy one is disabled."
-#endif
+#error "Unable to build new depsgraph and legacy one is disabled."
#define DISABLE_NEW_DEPSGRAPH