rna bge fix: using dynamode instead of mode for Dynamic Material option: Align to Normal (it was using Material->Shadow Receive)

This commit is contained in:
Dalai Felinto
2009-11-21 17:50:08 +00:00
parent da2db4bc58
commit d594388a28

View File

@@ -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);