Commit: 17e172b6c156e83d955675d5b3a3152da7769f02
Author: Bastien Montagne
Date:   Mon May 13 17:33:12 2019 +0200
Branches: master
https://developer.blender.org/rB17e172b6c156e83d955675d5b3a3152da7769f02

I18n Disambiguation: One more case of 'Root' falloff without 'Curve' context.

Part of T43295.

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

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

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

diff --git a/source/blender/makesrna/intern/rna_scene.c 
b/source/blender/makesrna/intern/rna_scene.c
index 9664fbd3305..ed9db684cd4 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2849,6 +2849,8 @@ static void rna_def_tool_settings(BlenderRNA *brna)
   RNA_def_property_enum_items(prop, rna_enum_proportional_falloff_items);
   RNA_def_property_ui_text(
       prop, "Proportional Editing Falloff", "Falloff type for proportional 
editing mode");
+  /* Abusing id_curve :/ */
+  RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_CURVE);
   RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL); /* header 
redraw */
 
   prop = RNA_def_property(srna, "proportional_size", PROP_FLOAT, 
PROP_DISTANCE);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to