Fix T45088: Wrong tooltip for 'Object Transform' option of transfer data.

This commit is contained in:
Bastien Montagne 2015-06-16 14:17:26 +02:00
parent 94eb2647d5
commit c55cf743cd
Notes: blender-bot 2023-02-14 09:00:19 +01:00
Referenced by issue #45088, Transfer mesh data - Object transform buttons are inverted
2 changed files with 2 additions and 2 deletions

View File

@ -531,7 +531,7 @@ void OBJECT_OT_data_transfer(wmOperatorType *ot)
/* Mapping options and filtering. */
RNA_def_boolean(ot->srna, "use_object_transform", true, "Object Transform",
"Evaluate source and destination meshes in their respective object spaces");
"Evaluate source and destination meshes in global space");
RNA_def_boolean(ot->srna, "use_max_distance", false, "Only Neighbor Geometry",
"Source elements must be closer than given distance from destination one");
prop = RNA_def_float(ot->srna, "max_distance", 1.0f, 0.0f, FLT_MAX, "Max Distance",

View File

@ -4307,7 +4307,7 @@ static void rna_def_modifier_datatransfer(BlenderRNA *brna)
RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update");
prop = RNA_def_boolean(srna, "use_object_transform", true, "Object Transform",
"Evaluate source and destination meshes in their respective object spaces");
"Evaluate source and destination meshes in global space");
RNA_def_property_boolean_sdna(prop, NULL, "flags", MOD_DATATRANSFER_OBSRC_TRANSFORM);
RNA_def_property_update(prop, 0, "rna_Modifier_update");