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-05-22 15:00:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-22 16:31:06 +0300
commit96a7ed8a159fec97ab19a6d19ffe6201a4ee2b35 (patch)
treead7164dbc343e62551de15e96c3bdb4841560453 /source/blender/blenloader/intern/readfile.c
parent298f8042efe12b4a8861a83c860b3adb0d56f1f6 (diff)
Tool System: store operator properties in the tool
This replaces last-used property use which wasn't reliable since properties were not considered 'set' - causing them to be ignored.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index a8181f1e043..c92b27bdb1c 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -2941,6 +2941,7 @@ static void direct_link_workspace(FileData *fd, WorkSpace *workspace, const Main
for (bToolRef *tref = workspace->tools.first; tref; tref = tref->next) {
tref->runtime = NULL;
+ tref->properties = newdataadr(fd, tref->properties);
}
}