[Bf-blender-cvs] [ef5bf8d67e7] master: Fix T68557: Incorrect property reported in error

Campbell Barton noreply at git.blender.org
Mon Aug 12 19:46:25 CEST 2019


Commit: ef5bf8d67e7ed6909d53d1bda3696e2233fcd014
Author: Campbell Barton
Date:   Tue Aug 13 03:45:29 2019 +1000
Branches: master
https://developer.blender.org/rBef5bf8d67e7ed6909d53d1bda3696e2233fcd014

Fix T68557: Incorrect property reported in error

Error spotted by @gbayliss

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

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

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

diff --git a/source/blender/makesrna/intern/rna_wm_gizmo_api.c b/source/blender/makesrna/intern/rna_wm_gizmo_api.c
index f7335572a14..bc6c2e8a796 100644
--- a/source/blender/makesrna/intern/rna_wm_gizmo_api.c
+++ b/source/blender/makesrna/intern/rna_wm_gizmo_api.c
@@ -90,7 +90,7 @@ static void rna_gizmo_target_set_prop(wmGizmo *gz,
                 RPT_ERROR,
                 "Property '%s.%s' not found",
                 RNA_struct_identifier(ptr->type),
-                target_propname);
+                propname);
     return;
   }



More information about the Bf-blender-cvs mailing list