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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-01-31 20:24:02 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-01-31 20:24:02 +0400
commit58646f10a17ca72fb55841084375ba6bcfdaef2a (patch)
treea45bc1f9965e5b8412d78d112678e66483bcf680 /source/blender/editors/mesh
parente76a87c0b295fe47079aca4e375eb8a9bea54b89 (diff)
Hide internal property of knife_cut operator
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_loop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_loop.c b/source/blender/editors/mesh/editmesh_loop.c
index d9854ea7678..19adaa977bf 100644
--- a/source/blender/editors/mesh/editmesh_loop.c
+++ b/source/blender/editors/mesh/editmesh_loop.c
@@ -407,7 +407,8 @@ void MESH_OT_knife_cut(wmOperatorType *ot)
// doesn't work atm.. RNA_def_enum(ot->srna, "corner_cut_pattern", corner_type_items, SUBDIV_CORNER_INNERVERT, "Corner Cut Pattern", "Topology pattern to use to fill a face after cutting across its corner");
/* internal */
- RNA_def_int(ot->srna, "cursor", BC_KNIFECURSOR, 0, INT_MAX, "Cursor", "", 0, INT_MAX);
+ prop = RNA_def_int(ot->srna, "cursor", BC_KNIFECURSOR, 0, INT_MAX, "Cursor", "", 0, INT_MAX);
+ RNA_def_property_flag(prop, PROP_HIDDEN);
}
/* ******************************************************* */