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>2010-12-06 02:14:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-06 02:14:48 +0300
commit9668c29ba00ed830109665ea132b6292cdfe9e2a (patch)
tree45a9c23c9aaa382b10985b9c640b363f54c3f9c9 /source/blender/makesdna/DNA_texture_types.h
parentb110c7c8f2c5fafa6412e01d21d751a884bfe8b2 (diff)
bpath iterator updates
- loop over sequencer plugin and texture voxel paths. - fix leak in python bpy.utils.blend_path() and use PyUnicode_DecodeFSDefault() to ensure correct paths with different encodings. - operators to make paths absolute & relative now redraw the view.
Diffstat (limited to 'source/blender/makesdna/DNA_texture_types.h')
-rw-r--r--source/blender/makesdna/DNA_texture_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h
index 9df596666a7..4d11890f5a5 100644
--- a/source/blender/makesdna/DNA_texture_types.h
+++ b/source/blender/makesdna/DNA_texture_types.h
@@ -552,6 +552,8 @@ typedef struct TexMapping {
#define TEX_VD_RAW_16BIT 2
#define TEX_VD_IMAGE_SEQUENCE 3
#define TEX_VD_SMOKE 4
+/* for voxels which use VoxelData->source_path */
+#define TEX_VD_IS_SOURCE_PATH(_format) (ELEM3(_format, TEX_VD_BLENDERVOXEL, TEX_VD_RAW_8BIT, TEX_VD_RAW_16BIT))
/* smoke data types */
#define TEX_VD_SMOKEDENSITY 0