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>2014-03-26 00:48:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-26 00:53:56 +0400
commita99a8a60705216c42368054e9bc78d012084b5fa (patch)
tree3d9bbeefe8874d9cb5f03a7fc893e31e3761fe74 /source/blender/makesrna/intern/rna_curve.c
parent9d45431a3544fbf2a11e99aad6d16e812246709e (diff)
Code cleanup: style and warnings
Diffstat (limited to 'source/blender/makesrna/intern/rna_curve.c')
-rw-r--r--source/blender/makesrna/intern/rna_curve.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c
index a4d099c69c7..ee6d9df1726 100644
--- a/source/blender/makesrna/intern/rna_curve.c
+++ b/source/blender/makesrna/intern/rna_curve.c
@@ -114,6 +114,7 @@ static const EnumPropertyItem curve3d_fill_mode_items[] = {
{0, NULL, 0, NULL, NULL}
};
+#ifdef RNA_RUNTIME
static const EnumPropertyItem curve2d_fill_mode_items[] = {
{0, "NONE", 0, "None", ""},
{CU_BACK, "BACK", 0, "Back", ""},
@@ -121,6 +122,7 @@ static const EnumPropertyItem curve2d_fill_mode_items[] = {
{CU_FRONT | CU_BACK, "BOTH", 0, "Both", ""},
{0, NULL, 0, NULL, NULL}
};
+#endif
#ifdef RNA_RUNTIME