[Bf-blender-cvs] [b8bb0391d64] master: Fix T63764: error when using library.users_id() function

Brecht Van Lommel noreply at git.blender.org
Sun Apr 21 01:04:06 CEST 2019


Commit: b8bb0391d645747125bb70cb47f9c227eedc9a8e
Author: Brecht Van Lommel
Date:   Sun Apr 21 00:58:38 2019 +0200
Branches: master
https://developer.blender.org/rBb8bb0391d645747125bb70cb47f9c227eedc9a8e

Fix T63764: error when using library.users_id() function

Fix suggested by Vilem Duha.

===================================================================

M	release/scripts/modules/bpy_types.py

===================================================================

diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py
index fb4ccfaff7a..86fb09ffb4b 100644
--- a/release/scripts/modules/bpy_types.py
+++ b/release/scripts/modules/bpy_types.py
@@ -61,7 +61,7 @@ class Library(bpy_types.ID):
         # See: readblenentry.c, IDTYPE_FLAGS_ISLINKABLE,
         # we could make this an attribute in rna.
         attr_links = ("actions", "armatures", "brushes", "cameras",
-                      "curves", "grease_pencil", "collections", "images",
+                      "curves", "grease_pencils", "collections", "images",
                       "lights", "lattices", "materials", "metaballs",
                       "meshes", "node_groups", "objects", "scenes",
                       "sounds", "speakers", "textures", "texts",



More information about the Bf-blender-cvs mailing list