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:
authorCampbell Barton <ideasman42@gmail.com>2012-08-21 15:53:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-21 15:53:09 +0400
commit4bcae5fb076cad3a9ca312a6ba881b5645be76e7 (patch)
treef49c8016f45cfbdf15859832fd3eda41c3711f20 /source/blender/nodes/composite/node_composite_util.h
parentf8db7ccb62cf2dbd26d4b6d9b89d6b3839a2b96a (diff)
code cleanup: more legacy compo functions ifdef'd
Diffstat (limited to 'source/blender/nodes/composite/node_composite_util.h')
-rw-r--r--source/blender/nodes/composite/node_composite_util.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/nodes/composite/node_composite_util.h b/source/blender/nodes/composite/node_composite_util.h
index 8f772b19d5e..f2719ee0779 100644
--- a/source/blender/nodes/composite/node_composite_util.h
+++ b/source/blender/nodes/composite/node_composite_util.h
@@ -86,6 +86,9 @@
/* only for forward declarations */
#include "NOD_composite.h"
+#define CMP_SCALE_MAX 12000
+
+#ifdef WITH_COMPOSITOR_LEGACY
/* *************************** operations support *************************** */
@@ -198,9 +201,9 @@ void IIR_gauss(CompBuf* src, float sigma, int chan, int xy);
/* transformations */
-#define CMP_SCALE_MAX 12000
-
CompBuf* node_composit_transform(CompBuf *cbuf, float x, float y, float angle, float scale, int filter_type);
float *node_composit_get_float_buffer(RenderData *rd, ImBuf *ibuf, int *alloc);
#endif
+
+#endif /* WITH_COMPOSITOR_LEGACY */