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:
authorScott Petrovic <scottpetrovic@gmail.com>2013-12-12 21:39:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-12 21:40:30 +0400
commitc701082a928b4390f1fb910f2eb7520b45b4cdf1 (patch)
treef4112628d42741beec4b3922a6fdac7811c7949a /source/blender/python
parent6c96535fd887c96cd013812d53085b28a5203d5a (diff)
RNA: Add pixels property type
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy_props.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c
index bfa4954d4bc..ea18d4ac356 100644
--- a/source/blender/python/intern/bpy_props.c
+++ b/source/blender/python/intern/bpy_props.c
@@ -88,6 +88,7 @@ static EnumPropertyItem property_subtype_string_items[] = {
{0, NULL, 0, NULL, NULL}};
static EnumPropertyItem property_subtype_number_items[] = {
+ {PROP_PIXEL, "PIXEL", 0, "Pixel", ""},
{PROP_UNSIGNED, "UNSIGNED", 0, "Unsigned", ""},
{PROP_PERCENTAGE, "PERCENTAGE", 0, "Percentage", ""},
{PROP_FACTOR, "FACTOR", 0, "Factor", ""},