From 8aca0da9521a7a4570f21bc71872f69b4e78d83b Mon Sep 17 00:00:00 2001 From: Joseph Micheli Date: Wed, 14 Sep 2022 15:20:42 +0200 Subject: Fix T100684: Correct descriptions in Python API The descriptions for view_layer_eval and scene_eval incorrectly duplicate the descriptions for view_layer and scene: - https://docs.blender.org/api/current/bpy.types.Depsgraph.html?highlight=depsgraph#bpy.types.Depsgraph.view_layer_eval - https://docs.blender.org/api/current/bpy.types.Depsgraph.html?highlight=depsgraph#bpy.types.Depsgraph.scene_eval This patch fixes this by changing "Original" to "Evaluated." Reviewed By: jbakker Maniphest Tasks: T100684 Differential Revision: https://developer.blender.org/D15931 --- source/blender/makesrna/intern/rna_depsgraph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c index ff107d0b833..03cb6d6c0d9 100644 --- a/source/blender/makesrna/intern/rna_depsgraph.c +++ b/source/blender/makesrna/intern/rna_depsgraph.c @@ -740,14 +740,14 @@ static void rna_def_depsgraph(BlenderRNA *brna) RNA_def_property_struct_type(prop, "Scene"); RNA_def_property_pointer_funcs(prop, "rna_Depsgraph_scene_eval_get", NULL, NULL, NULL); RNA_def_property_clear_flag(prop, PROP_EDITABLE); - RNA_def_property_ui_text(prop, "Scene", "Original scene dependency graph is built for"); + RNA_def_property_ui_text(prop, "Scene", "Scene at its evaluated state"); prop = RNA_def_property(srna, "view_layer_eval", PROP_POINTER, PROP_NONE); RNA_def_property_struct_type(prop, "ViewLayer"); RNA_def_property_pointer_funcs(prop, "rna_Depsgraph_view_layer_eval_get", NULL, NULL, NULL); RNA_def_property_clear_flag(prop, PROP_EDITABLE); RNA_def_property_ui_text( - prop, "View Layer", "Original view layer dependency graph is built for"); + prop, "View Layer", "View layer at its evaluated state"); /* Iterators. */ -- cgit v1.2.3