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
path: root/source
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-09-23 12:20:16 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-09-23 12:20:16 +0400
commit826a7db5c06c809defe8108d2532c7290cda7fef (patch)
tree284e71ae3135667d06b3de6ca56f8bcf285e6861 /source
parent6619d6cba7107268d747536d809abb51f8ee058a (diff)
Fix #36797 make linked node groups local does not work. Node tree library functions where missing the ntreeMakeLocal entry, was still marked as 'not implemented'.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/library.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index c23fa097d3e..dd747ba4e46 100644
--- a/source/blender/blenkernel/intern/library.c
+++ b/source/blender/blenkernel/intern/library.c
@@ -269,7 +269,8 @@ bool id_make_local(ID *id, bool test)
if (!test) BKE_action_make_local((bAction *)id);
return true;
case ID_NT:
- return false; /* not implemented */
+ if (!test) ntreeMakeLocal((bNodeTree *)id);
+ return true;
case ID_BR:
if (!test) BKE_brush_make_local((Brush *)id);
return true;