[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51801] trunk/blender/source/blender/ editors/mesh/editmesh_select.c: fix for crash in own recent commit to add comparison options for select-similar , missing NULL terminator item in the array.

Campbell Barton ideasman42 at gmail.com
Thu Nov 1 05:28:05 CET 2012


Revision: 51801
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51801
Author:   campbellbarton
Date:     2012-11-01 04:27:59 +0000 (Thu, 01 Nov 2012)
Log Message:
-----------
fix for crash in own recent commit to add comparison options for select-similar, missing NULL terminator item in the array.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/editmesh_select.c

Modified: trunk/blender/source/blender/editors/mesh/editmesh_select.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_select.c	2012-11-01 03:54:50 UTC (rev 51800)
+++ trunk/blender/source/blender/editors/mesh/editmesh_select.c	2012-11-01 04:27:59 UTC (rev 51801)
@@ -674,7 +674,9 @@
 static EnumPropertyItem prop_similar_compare_types[] = {
 	{SIM_CMP_EQ, "EQUAL", 0, "Equal", ""},
 	{SIM_CMP_GT, "GREATER", 0, "Greater", ""},
-	{SIM_CMP_LT, "LESS", 0, "Less", ""}
+	{SIM_CMP_LT, "LESS", 0, "Less", ""},
+
+	{0, NULL, 0, NULL, NULL}
 };
 
 static EnumPropertyItem prop_similar_types[] = {




More information about the Bf-blender-cvs mailing list