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>2010-08-19 16:51:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-19 16:51:31 +0400
commit486b3cd2f540f3670e38cf60550100d1689c74c2 (patch)
treef07923b89694b66c397c96c931dc691adb53794f /source/blender/makesrna/rna_cleanup
parent46e25e7c77e2dc94ba967c918e17abeaa73c64a7 (diff)
more rna renaming for non-animated properties: mainly Texface, Particle & Pointcache changes.
Changed some names when applying. - render was use_render, changed to show_viewport so call it show_render - texface shadow was use_shadow_face, changed to use_shadow_cast since this only affects casting. - transp was alpha_mode, changed to blend_type since its similar to other overlay blending where this property name is used.
Diffstat (limited to 'source/blender/makesrna/rna_cleanup')
-rw-r--r--source/blender/makesrna/rna_cleanup/rna_properties.txt6
-rwxr-xr-xsource/blender/makesrna/rna_cleanup/rna_update.sh6
2 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/makesrna/rna_cleanup/rna_properties.txt b/source/blender/makesrna/rna_cleanup/rna_properties.txt
index 7cacae1d026..313138a8172 100644
--- a/source/blender/makesrna/rna_cleanup/rna_properties.txt
+++ b/source/blender/makesrna/rna_cleanup/rna_properties.txt
@@ -2185,7 +2185,7 @@
#+ * MeshStringProperty.value -> value: string "NO DESCRIPTION"
#+ * MeshStringPropertyLayer.data -> data: collection, "(read-only)"
#+ * MeshStringPropertyLayer.name -> name: string "NO DESCRIPTION"
- + * MeshTextureFace.transp -> alpha_mode: enum "Transparency blending mode"
+ + * MeshTextureFace.transp -> blend_type: enum "Transparency blending mode"
+ * MeshTextureFace.invisible -> hide: boolean "Make face invisible"
#+ * MeshTextureFace.image -> image: pointer "NO DESCRIPTION"
+ * MeshTextureFace.uv_pinned -> pin_uv: boolean[4] "NO DESCRIPTION"
@@ -2198,7 +2198,7 @@
+ * MeshTextureFace.halo -> use_halo: boolean "Screen aligned billboard"
+ * MeshTextureFace.light -> use_light: boolean "Use light for face"
+ * MeshTextureFace.object_color -> use_object_color: boolean "Use ObColor instead of vertex colors"
- + * MeshTextureFace.shadow -> use_shadow_face: boolean "Face is used for shadow"
+ + * MeshTextureFace.shadow -> use_shadow_cast: boolean "Face is used for shadow"
+ * MeshTextureFace.tex -> use_texture: boolean "Render face with texture"
+ * MeshTextureFace.twoside -> use_twoside: boolean "Render face two-sided"
#+ * MeshTextureFace.uv -> uv: float[8] "NO DESCRIPTION"
@@ -2235,7 +2235,7 @@
#Modifier.show_on_cage -> show_on_cage: boolean "Enable direct editing of modifier control cage"
#Modifier.show_viewport -> show_viewport: boolean "Realtime display of a modifier"
#+ * Modifier.type -> type: enum, "(read-only)"
- + * Modifier.render -> use_render: boolean "Use modifier during rendering"
+ + * Modifier.render -> show_render: boolean "Use modifier during rendering"
+ * Modifier|ArmatureModifier.invert -> invert_vertex_group: boolean "Invert vertex group influence"
#+ * Modifier|ArmatureModifier.object -> object: pointer "Armature object to deform with"
#+ * Modifier|ArmatureModifier.use_bone_envelopes -> use_bone_envelopes: boolean "NO DESCRIPTION"
diff --git a/source/blender/makesrna/rna_cleanup/rna_update.sh b/source/blender/makesrna/rna_cleanup/rna_update.sh
index 5dc70ad947d..04d4bbcb0e4 100755
--- a/source/blender/makesrna/rna_cleanup/rna_update.sh
+++ b/source/blender/makesrna/rna_cleanup/rna_update.sh
@@ -6,6 +6,8 @@ cd ./source/blender/makesrna/rna_cleanup/
./rna_cleaner_merge.py out_work.py rna_properties_work.py
./rna_cleaner.py out_work_merged.py
./rna_cleaner.py out_work_lost.py
-mv out_work_merged_work.txt rna_properties_new.txt
+mv out_work_merged_work.txt rna_properties.txt # overwrite
mv out_work_lost_work.txt rna_properties_lost.txt
-echo "Updated: rna_properties_new.txt rna_properties_lost.txt" \ No newline at end of file
+cat rna_properties.txt | grep -v "^#" > rna_properties_edits.txt
+./rna_cleaner.py rna_properties.txt
+echo "Updated: rna_properties.txt rna_properties_edits.txt rna_properties_lost.txt " \ No newline at end of file