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/intern/makesrna.c
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/intern/makesrna.c')
-rw-r--r--source/blender/makesrna/intern/makesrna.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c
index 35b2eff9c62..42b72ce4341 100644
--- a/source/blender/makesrna/intern/makesrna.c
+++ b/source/blender/makesrna/intern/makesrna.c
@@ -1652,6 +1652,7 @@ static const char *rna_property_subtypename(PropertySubType type)
case PROP_FILEPATH: return "PROP_FILEPATH";
case PROP_FILENAME: return "PROP_FILENAME";
case PROP_DIRPATH: return "PROP_DIRPATH";
+ case PROP_IMAGEPATH: return "PROP_IMAGEPATH";
case PROP_UNSIGNED: return "PROP_UNSIGNED";
case PROP_PERCENTAGE: return "PROP_PERCENTAGE";
case PROP_FACTOR: return "PROP_FACTOR";