[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34568] trunk/blender/source/blender/ makesrna/intern/rna_material.c: Removed bad copied UI strings and comment from texture slot rna code.

Ton Roosendaal ton at blender.org
Sun Jan 30 17:17:09 CET 2011


Revision: 34568
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34568
Author:   ton
Date:     2011-01-30 16:17:08 +0000 (Sun, 30 Jan 2011)
Log Message:
-----------
Removed bad copied UI strings and comment from texture slot rna code.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_material.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_material.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_material.c	2011-01-30 15:29:22 UTC (rev 34567)
+++ trunk/blender/source/blender/makesrna/intern/rna_material.c	2011-01-30 16:17:08 UTC (rev 34568)
@@ -1848,7 +1848,6 @@
 }
 
 
-/* curve.splines */
 static void rna_def_texture_slots(BlenderRNA *brna, PropertyRNA *cprop, const char *structname, const char *structname_slots)
 {
 	StructRNA *srna;
@@ -1863,13 +1862,11 @@
 
 	/* functions */
 	func= RNA_def_function(srna, "add", "rna_mtex_texture_slots_add");
-	RNA_def_function_ui_description(func, "Add a number of points to this spline.");
 	RNA_def_function_flag(func, FUNC_USE_SELF_ID|FUNC_NO_SELF|FUNC_USE_CONTEXT|FUNC_USE_REPORTS);
 	parm= RNA_def_pointer(func, "mtex", structname, "", "The newly initialized mtex.");
 	RNA_def_function_return(func, parm);
 	
 	func= RNA_def_function(srna, "create", "rna_mtex_texture_slots_create");
-	RNA_def_function_ui_description(func, "Add a number of points to this spline.");
 	RNA_def_function_flag(func, FUNC_USE_SELF_ID|FUNC_NO_SELF|FUNC_USE_CONTEXT|FUNC_USE_REPORTS);
 	parm= RNA_def_int(func, "index", 0, 0, INT_MAX, "Index", "Slot index to initialize.", 0, INT_MAX);
 	RNA_def_property_flag(parm, PROP_REQUIRED);
@@ -1877,7 +1874,6 @@
 	RNA_def_function_return(func, parm);
 	
 	func= RNA_def_function(srna, "clear", "rna_mtex_texture_slots_clear");
-	RNA_def_function_ui_description(func, "Add a number of points to this spline.");
 	RNA_def_function_flag(func, FUNC_USE_SELF_ID|FUNC_NO_SELF|FUNC_USE_CONTEXT|FUNC_USE_REPORTS);
 	parm= RNA_def_int(func, "index", 0, 0, INT_MAX, "Index", "Slot index to clar.", 0, INT_MAX);
 	RNA_def_property_flag(parm, PROP_REQUIRED);




More information about the Bf-blender-cvs mailing list