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>2011-02-09 05:28:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-09 05:28:11 +0300
commit3e8ddef8e570757dab6fd9b51aa0088e03d4aaaf (patch)
treeb668874d3fce47f2c3435c8be24d8a691ccb2975 /source/blender/makesrna/intern/rna_mesh_api.c
parent30552f9f46038a3ce7990b1b7a267c14ee2f3fac (diff)
move validation into blender kernel so it can be called by internal modifier funcs more easily.
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_mesh_api.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh_api.c b/source/blender/makesrna/intern/rna_mesh_api.c
index 82004f8c0b3..e8de1cfe5b4 100644
--- a/source/blender/makesrna/intern/rna_mesh_api.c
+++ b/source/blender/makesrna/intern/rna_mesh_api.c
@@ -33,6 +33,7 @@
#include "BLO_sys_types.h"
+#include "BKE_mesh.h"
#include "ED_mesh.h"
#ifdef RNA_RUNTIME
@@ -57,8 +58,10 @@ void RNA_api_mesh(StructRNA *srna)
RNA_def_boolean(func, "calc_edges", 0, "Calculate Edges", "Force recalculation of edges.");
RNA_def_function_flag(func, FUNC_USE_CONTEXT);
- /* Linking errors! */
- /* func= RNA_def_function(srna, "validate", "ED_mesh_validate"); */
+ /*
+ func= RNA_def_function(srna, "validate", "BKE_mesh_validate");
+ RNA_def_function_ui_description(func, "validate geometry.");
+ */
}
#endif