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:
authorNicholas Bishop <nicholasbishop@gmail.com>2010-07-26 22:37:47 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2010-07-26 22:37:47 +0400
commit8fb499c34f8dd9bd38c73c88cf2e588aae854606 (patch)
treed175811bef390cd7f3bc70e08557db955b515263 /source/blender/makesrna/RNA_types.h
parent10b124ae39c4cdbff6d6191177c3f77b2bc3d802 (diff)
* Added a new RNA subtype, PROP_IMAGEPATH. It's the same as PROP_FILEPATH, but for images only.
* Changed UI code to display image browser for PROP_IMAGEPATH * Set the icon_filepath RNA property for brushes to use PROP_IMAGEPATH * Changed preview icon drawing to ignore unset icons * Fixed const warnings in brush RNA
Diffstat (limited to 'source/blender/makesrna/RNA_types.h')
-rw-r--r--source/blender/makesrna/RNA_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h
index 88058769f4b..06e42c77daf 100644
--- a/source/blender/makesrna/RNA_types.h
+++ b/source/blender/makesrna/RNA_types.h
@@ -98,6 +98,7 @@ typedef enum PropertySubType {
PROP_FILEPATH = 1,
PROP_DIRPATH = 2,
PROP_FILENAME = 3,
+ PROP_IMAGEPATH = 4,
/* numbers */
PROP_UNSIGNED = 13,