Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-02 08:39:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-02 08:39:20 +0300
commitdce12293d0dbaf0ae1e2ea90dc46ae7e40763f31 (patch)
treeb5d8d133e5b6fc150efd9389100882da28cd11f3 /source/blender/makesrna/intern/rna_workspace_api.c
parent0e7a592c3c16bfb77ca9410a49d00d416406bdec (diff)
WM: generalize tool property initialization
Prepare for storing different kinds of properties in tools.
Diffstat (limited to 'source/blender/makesrna/intern/rna_workspace_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_workspace_api.c2
1 files changed, 1 insertions, 1 deletions
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 {