Fix T53509: Datablock ID Properties attached to bpy.types.Material are not loaded.
Stupid mistake in material reading code, thanks to Simon Wendsche (@BYOB) for the investigation and fix! To be backported to 2.79a.
This commit is contained in:
Submodule release/datafiles/locale updated: 47700dfc98...cd65bc3277
Submodule release/scripts/addons updated: 6cdbffbc22...f5536e5e49
Submodule release/scripts/addons_contrib updated: e88b7dfc3b...310578043d
@@ -3966,10 +3966,6 @@ static void lib_link_material(FileData *fd, Main *main)
|
||||
IDP_LibLinkProperty(ma->id.properties, fd);
|
||||
lib_link_animdata(fd, &ma->id, ma->adt);
|
||||
|
||||
/* Link ID Properties -- and copy this comment EXACTLY for easy finding
|
||||
* of library blocks that implement this.*/
|
||||
IDP_LibLinkProperty(ma->id.properties, fd);
|
||||
|
||||
ma->ipo = newlibadr_us(fd, ma->id.lib, ma->ipo); // XXX deprecated - old animation system
|
||||
ma->group = newlibadr_us(fd, ma->id.lib, ma->group);
|
||||
|
||||
|
Reference in New Issue
Block a user