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>2019-01-15 15:57:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-15 16:03:03 +0300
commit88a80fcec8672b5bb67041456dc7f7101aae3d55 (patch)
treee1b93fd997bba2e0481395bb51b51058eb9aa990 /source/blender/compositor
parent2d98dce7ee29b7e5d685ee5de9aa1e4eebe46a01 (diff)
Cleanup: commas at the end of enums
Without this clang-format may wrap them onto a single line.
Diffstat (limited to 'source/blender/compositor')
-rw-r--r--source/blender/compositor/COM_defines.h8
-rw-r--r--source/blender/compositor/intern/COM_ExecutionGroup.h2
-rw-r--r--source/blender/compositor/intern/COM_MemoryBuffer.h2
-rw-r--r--source/blender/compositor/intern/COM_NodeOperation.h2
-rw-r--r--source/blender/compositor/intern/COM_SocketReader.h2
-rw-r--r--source/blender/compositor/operations/COM_FastGaussianBlurOperation.h2
-rw-r--r--source/blender/compositor/operations/COM_KeyingBlurOperation.h2
7 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/compositor/COM_defines.h b/source/blender/compositor/COM_defines.h
index 34cbaf9db37..096d9e734f9 100644
--- a/source/blender/compositor/COM_defines.h
+++ b/source/blender/compositor/COM_defines.h
@@ -33,7 +33,7 @@ typedef enum DataType {
/** \brief Vector data type */
COM_DT_VECTOR = 2,
/** \brief Color data type */
- COM_DT_COLOR = 4
+ COM_DT_COLOR = 4,
} DataType;
/**
@@ -47,7 +47,7 @@ typedef enum CompositorQuality {
/** \brief Medium quality setting */
COM_QUALITY_MEDIUM = 1,
/** \brief Low quality setting */
- COM_QUALITY_LOW = 2
+ COM_QUALITY_LOW = 2,
} CompositorQuality;
/**
@@ -60,7 +60,7 @@ typedef enum CompositorPriority {
/** \brief Medium quality setting */
COM_PRIORITY_MEDIUM = 1,
/** \brief Low quality setting */
- COM_PRIORITY_LOW = 0
+ COM_PRIORITY_LOW = 0,
} CompositorPriority;
// configurable items
@@ -98,7 +98,7 @@ typedef enum OrderOfChunks {
/** \brief no ordering */
COM_TO_TOP_DOWN = 2,
/** \brief experimental ordering with 9 hotspots */
- COM_TO_RULE_OF_THIRDS = 3
+ COM_TO_RULE_OF_THIRDS = 3,
} OrderOfChunks;
#define COM_ORDER_OF_CHUNKS_DEFAULT COM_TO_CENTER_OUT
diff --git a/source/blender/compositor/intern/COM_ExecutionGroup.h b/source/blender/compositor/intern/COM_ExecutionGroup.h
index 8f170aab2fb..d3f7df04a94 100644
--- a/source/blender/compositor/intern/COM_ExecutionGroup.h
+++ b/source/blender/compositor/intern/COM_ExecutionGroup.h
@@ -54,7 +54,7 @@ typedef enum ChunkExecutionState {
/**
* \brief chunk is executed.
*/
- COM_ES_EXECUTED = 2
+ COM_ES_EXECUTED = 2,
} ChunkExecutionState;
/**
diff --git a/source/blender/compositor/intern/COM_MemoryBuffer.h b/source/blender/compositor/intern/COM_MemoryBuffer.h
index 17ee17316fb..c5d8bfcc6b4 100644
--- a/source/blender/compositor/intern/COM_MemoryBuffer.h
+++ b/source/blender/compositor/intern/COM_MemoryBuffer.h
@@ -44,7 +44,7 @@ typedef enum MemoryBufferState {
/** \brief memory is available for use, content has been created */
COM_MB_AVAILABLE = 2,
/** \brief chunk is consolidated from other chunks. special state.*/
- COM_MB_TEMPORARILY = 6
+ COM_MB_TEMPORARILY = 6,
} MemoryBufferState;
typedef enum MemoryBufferExtend {
diff --git a/source/blender/compositor/intern/COM_NodeOperation.h b/source/blender/compositor/intern/COM_NodeOperation.h
index ad9842caa74..6ec74392b71 100644
--- a/source/blender/compositor/intern/COM_NodeOperation.h
+++ b/source/blender/compositor/intern/COM_NodeOperation.h
@@ -68,7 +68,7 @@ typedef enum InputResizeMode {
/** \brief Fit the width or the height of the input image to the width or height of the working area of the node, image will be larger than the working area */
COM_SC_FIT = NS_CR_FIT,
/** \brief Fit the width and the height of the input image to the width and height of the working area of the node, image will be equally larger than the working area */
- COM_SC_STRETCH = NS_CR_STRETCH
+ COM_SC_STRETCH = NS_CR_STRETCH,
} InputResizeMode;
/**
diff --git a/source/blender/compositor/intern/COM_SocketReader.h b/source/blender/compositor/intern/COM_SocketReader.h
index ec1c200fd81..5d2c075f7e7 100644
--- a/source/blender/compositor/intern/COM_SocketReader.h
+++ b/source/blender/compositor/intern/COM_SocketReader.h
@@ -32,7 +32,7 @@
typedef enum PixelSampler {
COM_PS_NEAREST = 0,
COM_PS_BILINEAR = 1,
- COM_PS_BICUBIC = 2
+ COM_PS_BICUBIC = 2,
} PixelSampler;
class MemoryBuffer;
diff --git a/source/blender/compositor/operations/COM_FastGaussianBlurOperation.h b/source/blender/compositor/operations/COM_FastGaussianBlurOperation.h
index e5d3835e8cd..d015729238e 100644
--- a/source/blender/compositor/operations/COM_FastGaussianBlurOperation.h
+++ b/source/blender/compositor/operations/COM_FastGaussianBlurOperation.h
@@ -45,7 +45,7 @@ public:
enum {
FAST_GAUSS_OVERLAY_MIN = -1,
FAST_GAUSS_OVERLAY_NONE = 0,
- FAST_GAUSS_OVERLAY_MAX = 1
+ FAST_GAUSS_OVERLAY_MAX = 1,
};
class FastGaussianBlurValueOperation : public NodeOperation {
diff --git a/source/blender/compositor/operations/COM_KeyingBlurOperation.h b/source/blender/compositor/operations/COM_KeyingBlurOperation.h
index a15f3f697c2..43d9df62ce9 100644
--- a/source/blender/compositor/operations/COM_KeyingBlurOperation.h
+++ b/source/blender/compositor/operations/COM_KeyingBlurOperation.h
@@ -37,7 +37,7 @@ protected:
public:
enum BlurAxis {
BLUR_AXIS_X = 0,
- BLUR_AXIS_Y = 1
+ BLUR_AXIS_Y = 1,
};
KeyingBlurOperation();