From dce12293d0dbaf0ae1e2ea90dc46ae7e40763f31 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 2 Oct 2018 15:39:20 +1000 Subject: WM: generalize tool property initialization Prepare for storing different kinds of properties in tools. --- source/blender/makesrna/intern/rna_workspace_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna/intern/rna_workspace_api.c') diff --git a/source/blender/makesrna/intern/rna_workspace_api.c b/source/blender/makesrna/intern/rna_workspace_api.c index 78e617450e8..331a8e77637 100644 --- a/source/blender/makesrna/intern/rna_workspace_api.c +++ b/source/blender/makesrna/intern/rna_workspace_api.c @@ -124,7 +124,7 @@ static PointerRNA rna_WorkspaceTool_operator_properties( if (ot != NULL) { PointerRNA ptr; - WM_toolsystem_ref_properties_ensure(tref, ot, &ptr); + WM_toolsystem_ref_properties_ensure_from_operator(tref, ot, &ptr); return ptr; } else { -- cgit v1.2.3