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:
authorDalai Felinto <dfelinto@gmail.com>2009-11-21 20:50:08 +0300
committerDalai Felinto <dfelinto@gmail.com>2009-11-21 20:50:08 +0300
commitd594388a28734f6e77fee7ea923cf6fe5b9b4a0e (patch)
treefe740be2cba25c54f0bc12938136fbd33568b37e /source/blender/makesrna/intern/rna_material.c
parentda2db4bc587f94ecb5e4501f87bd0fb57a64e3f4 (diff)
rna bge fix: using dynamode instead of mode for Dynamic Material option: Align to Normal (it was using Material->Shadow Receive)
Diffstat (limited to 'source/blender/makesrna/intern/rna_material.c')
-rw-r--r--source/blender/makesrna/intern/rna_material.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c
index 8372c144a89..5ff8bffe715 100644
--- a/source/blender/makesrna/intern/rna_material.c
+++ b/source/blender/makesrna/intern/rna_material.c
@@ -1437,7 +1437,7 @@ static void rna_def_material_physics(BlenderRNA *brna)
RNA_def_struct_ui_text(srna, "Material Physics", "Physics settings for a Material datablock.");
prop= RNA_def_property(srna, "align_to_normal", PROP_BOOLEAN, PROP_NONE);
- RNA_def_property_boolean_sdna(prop, NULL, "mode", MA_FH_NOR);
+ RNA_def_property_boolean_sdna(prop, NULL, "dynamode", MA_FH_NOR);
RNA_def_property_ui_text(prop, "Align to Normal", "Align dynamic game objects along the surface normal, when inside the physics distance area");
prop= RNA_def_property(srna, "friction", PROP_FLOAT, PROP_NONE);