Fix #36797 make linked node groups local does not work. Node tree library functions...
authorLukas Toenne <lukas.toenne@googlemail.com>
Mon, 23 Sep 2013 08:20:16 +0000 (08:20 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Mon, 23 Sep 2013 08:20:16 +0000 (08:20 +0000)
source/blender/blenkernel/intern/library.c

index c23fa097d3eba1fe5463a42a94f46ec49c61723a..dd747ba4e461614ce0cb8f517bfcabfc625a11d4 100644 (file)
@@ -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:
                        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;
                case ID_BR:
                        if (!test) BKE_brush_make_local((Brush *)id);
                        return true;