[Bf-blender-cvs] [a18e5d6] master: warning: unused

Campbell Barton noreply at git.blender.org
Wed Apr 8 08:27:37 CEST 2015


Commit: a18e5d6a67b9fe56f6ca9840d346e173a6b4301a
Author: Campbell Barton
Date:   Wed Apr 8 16:26:58 2015 +1000
Branches: master
https://developer.blender.org/rBa18e5d6a67b9fe56f6ca9840d346e173a6b4301a

warning: unused

===================================================================

M	source/blender/makesrna/intern/rna_space.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 0419802..ca3ea9b 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -118,11 +118,13 @@ static EnumPropertyItem multiview_camera_items[] = {
 #undef V3D_S3D_CAMERA_S3D
 #undef V3D_S3D_CAMERA_VIEWS
 
+#ifndef RNA_RUNTIME
 static EnumPropertyItem stereo3d_eye_items[] = {
     {STEREO_LEFT_ID, "LEFT_EYE", ICON_NONE, "Left Eye"},
     {STEREO_RIGHT_ID, "RIGHT_EYE", ICON_NONE, "Right Eye"},
     {0, NULL, 0, NULL, NULL}
 };
+#endif
 
 static EnumPropertyItem pivot_items_full[] = {
 	{V3D_CENTER, "BOUNDING_BOX_CENTER", ICON_ROTATE, "Bounding Box Center",




More information about the Bf-blender-cvs mailing list