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-01-09 04:44:14 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-09 04:44:59 +0400
commite47a41e3fc5299c1416487972297e7de69472f1b (patch)
treec66b9b78596830f580e1a1f340e8ddfc21ee784b /source/blender/makesrna/intern/rna_rigidbody.c
parent8c0f9365c0387911a9891eac9e9a561c02dc9964 (diff)
Code Cleanup: style
Diffstat (limited to 'source/blender/makesrna/intern/rna_rigidbody.c')
-rw-r--r--source/blender/makesrna/intern/rna_rigidbody.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_rigidbody.c b/source/blender/makesrna/intern/rna_rigidbody.c
index 58fc9ab25d4..b0a66ab2dc9 100644
--- a/source/blender/makesrna/intern/rna_rigidbody.c
+++ b/source/blender/makesrna/intern/rna_rigidbody.c
@@ -76,13 +76,14 @@ EnumPropertyItem rigidbody_constraint_type_items[] = {
{RBC_TYPE_MOTOR, "MOTOR", ICON_NONE, "Motor", "Drive rigid body around or along an axis"},
{0, NULL, 0, NULL, NULL}};
+#ifndef RNA_RUNTIME
/* mesh source for collision shape creation */
-EnumPropertyItem rigidbody_mesh_source_items[] = {
+static EnumPropertyItem rigidbody_mesh_source_items[] = {
{RBO_MESH_BASE, "BASE", 0, "Base", "Base mesh"},
{RBO_MESH_DEFORM, "DEFORM", 0, "Deform", "Deformations (shaps keys, deform modifiers"},
{RBO_MESH_FINAL, "FINAL", 0, "Final", "All modifiers"},
{0, NULL, 0, NULL, NULL}};
-
+#endif
#ifdef RNA_RUNTIME