[Bf-blender-cvs] [a5d0597b927] master: Fix tooltip for constraints' subtarget.

Bastien Montagne noreply at git.blender.org
Thu May 3 16:01:25 CEST 2018


Commit: a5d0597b927d90c3621f8a40b0703cc158800fb8
Author: Bastien Montagne
Date:   Thu May 3 16:00:34 2018 +0200
Branches: master
https://developer.blender.org/rBa5d0597b927d90c3621f8a40b0703cc158800fb8

Fix tooltip for constraints' subtarget.

Thanks @aligorith for the head-up.

===================================================================

M	source/blender/makesrna/intern/rna_constraint.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_constraint.c b/source/blender/makesrna/intern/rna_constraint.c
index a6daea4c3f3..b602c90c82c 100644
--- a/source/blender/makesrna/intern/rna_constraint.c
+++ b/source/blender/makesrna/intern/rna_constraint.c
@@ -535,7 +535,7 @@ static void rna_def_constraint_target_common(StructRNA *srna)
 
 	prop = RNA_def_property(srna, "subtarget", PROP_STRING, PROP_NONE);
 	RNA_def_property_string_sdna(prop, NULL, "subtarget");
-	RNA_def_property_ui_text(prop, "Sub-Target", "Only Armature bones are supported currently");
+	RNA_def_property_ui_text(prop, "Sub-Target", "Armature bone, mesh or lattice vertex group, ...");
 	RNA_def_property_update(prop, NC_OBJECT | ND_CONSTRAINT, "rna_Constraint_dependency_update");
 }



More information about the Bf-blender-cvs mailing list