[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43795] trunk/blender/source/blender/ editors/mesh/editmesh_loop.c: Hide internal property of knife_cut operator

Sergey Sharybin sergey.vfx at gmail.com
Tue Jan 31 17:24:11 CET 2012


Revision: 43795
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43795
Author:   nazgul
Date:     2012-01-31 16:24:02 +0000 (Tue, 31 Jan 2012)
Log Message:
-----------
Hide internal property of knife_cut operator

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

Modified: trunk/blender/source/blender/editors/mesh/editmesh_loop.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_loop.c	2012-01-31 15:59:52 UTC (rev 43794)
+++ trunk/blender/source/blender/editors/mesh/editmesh_loop.c	2012-01-31 16:24:02 UTC (rev 43795)
@@ -407,7 +407,8 @@
 	// 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);
 }
 
 /* ******************************************************* */



More information about the Bf-blender-cvs mailing list