[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40526] trunk/blender: manual update on changelog (python API)

Dalai Felinto dfelinto at gmail.com
Sun Sep 25 01:50:01 CEST 2011


Revision: 40526
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40526
Author:   dfelinto
Date:     2011-09-24 23:50:00 +0000 (Sat, 24 Sep 2011)
Log Message:
-----------
manual update on changelog (python API)
Change as suggested by Campbell.
I'm not sure if this is the way to do for enums, I will check with him later

Modified Paths:
--------------
    trunk/blender/doc/python_api/rst/change_log.rst
    trunk/blender/source/blender/makesrna/intern/rna_mesh.c

Modified: trunk/blender/doc/python_api/rst/change_log.rst
===================================================================
--- trunk/blender/doc/python_api/rst/change_log.rst	2011-09-24 22:40:56 UTC (rev 40525)
+++ trunk/blender/doc/python_api/rst/change_log.rst	2011-09-24 23:50:00 UTC (rev 40526)
@@ -1042,26 +1042,6 @@
 
 * :class:`bpy.types.Texture.evaluate`
 
-bpy.types.MeshTextureFace
--------------------------
-
-Removed
-^^^^^^^
-
-* **blend_type**
-* **hide**
-* **use_alpha_sort**
-* **use_billboard**
-* **use_bitmap_text**
-* **use_blend_shared**
-* **use_collision**
-* **use_halo**
-* **use_image**
-* **use_light**
-* **use_object_color**
-* **use_shadow_cast**
-* **use_twoside**
-
 bpy.types.ToolSettings
 ----------------------
 
@@ -1400,3 +1380,27 @@
 * :class:`bpy.types.SceneGameData.restrict_animation_updates`
 * :class:`bpy.types.SceneGameData.show_obstacle_simulation`
 
+bpy.types.MeshTextureFace
+-------------------------
+
+Removed
+^^^^^^^
+
+* **use_image**
+* **use_object_color**
+* **use_blend_shared**
+
+Moved
+^^^^^
+
+* **hide** -> :class:`bpy.types.Material.game_settings.invisible`
+* **use_collision** -> :class:`bpy.types.Material.game_settings.physics`
+* **use_light** -> :class:`bpy.types.Material.game_settings.use_shadeless`
+* **use_twoside** -> :class:`bpy.types.Material.game_settings.back_culling`
+* **use_bitmap_text** -> :class:`bpy.types.Material.game_settings.text`
+* **blend_type** -> :class:`bpy.types.Material.game_settings.alpha_blend`
+* **use_alpha_sort** -> :class:`bpy.types.Material.game_settings.alpha_blend`
+* **use_billboard** -> :class:`bpy.types.Material.game_settings.face_orientation`
+* **use_halo** -> :class:`bpy.types.Material.game_settings.face_orientation`
+* **use_shadow_cast** -> :class:`bpy.types.Material.game_settings.face_orientation`
+

Modified: trunk/blender/source/blender/makesrna/intern/rna_mesh.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_mesh.c	2011-09-24 22:40:56 UTC (rev 40525)
+++ trunk/blender/source/blender/makesrna/intern/rna_mesh.c	2011-09-24 23:50:00 UTC (rev 40526)
@@ -1366,12 +1366,6 @@
 {
 	StructRNA *srna;
 	PropertyRNA *prop;
-	static const EnumPropertyItem transp_items[]= {
-		{TF_SOLID, "OPAQUE", 0, "Opaque", "Render color of textured face as color"},
-		{TF_ADD, "ADD", 0, "Add", "Render face transparent and add color of face"},
-		{TF_ALPHA, "ALPHA", 0, "Alpha", "Render polygon transparent, depending on alpha channel of the texture"},
-		{TF_CLIP, "CLIPALPHA", 0, "Clip Alpha", "Use the images alpha values clipped with no blending (binary alpha)"},
-		{0, NULL, 0, NULL, NULL}};
 	const int uv_dim[]= {4, 2};
 
 	srna= RNA_def_struct(brna, "MeshTextureFaceLayer", NULL);




More information about the Bf-blender-cvs mailing list