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>2020-04-24 08:49:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-04-24 08:52:01 +0300
commitd4ffd1d91f84e956c1f9832700b0f42cd150c2f1 (patch)
treee1cf22a19d5f4a6f396483cb4449ca75892441b2 /source/blender/makesdna/DNA_volume_types.h
parentc1e4b369b0f2fab20e7553d2268bc3bafac004d5 (diff)
Cleanup: declare values for enum types
Avoids accidents when adding/removing items from an enum.
Diffstat (limited to 'source/blender/makesdna/DNA_volume_types.h')
-rw-r--r--source/blender/makesdna/DNA_volume_types.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_volume_types.h b/source/blender/makesdna/DNA_volume_types.h
index 1a49df86761..b3615e87a50 100644
--- a/source/blender/makesdna/DNA_volume_types.h
+++ b/source/blender/makesdna/DNA_volume_types.h
@@ -95,9 +95,9 @@ enum {
/* Volume.sequence_mode */
typedef enum VolumeSequenceMode {
VOLUME_SEQUENCE_CLIP = 0,
- VOLUME_SEQUENCE_EXTEND,
- VOLUME_SEQUENCE_REPEAT,
- VOLUME_SEQUENCE_PING_PONG,
+ VOLUME_SEQUENCE_EXTEND = 1,
+ VOLUME_SEQUENCE_REPEAT = 2,
+ VOLUME_SEQUENCE_PING_PONG = 3,
} VolumeSequenceMode;
/* VolumeDisplay.wireframe_type */